EvolutionCourse Hub
← Dictionary
groupby (split, apply, combine)

Also: split-apply-combine

Python tools

Split rows into groups, compute a summary for each group, and combine the results into one table.

Exampledf.groupby('InternetService')['left'].agg(['mean', 'size']): fibre about 42% left out of 3,113 customers.