Reading and Writing Data with Pandas

Grouping with list of column names creates DataFrame with MultiIndex. (see “Reshaping DataFrames and Pivot Tables” cheatsheet): > g = df.groupby(list_col_names) Pass a function to group based on the index: > g = df.groupby(function) Split / Apply / Combine with DataFrames Apply/Combine: Transformation Other Groupby-Like Operations: Window ... ................
................