Open pikhovkin opened 6 years ago
Multiaggregate functions in DataFrame.pivot_table like in http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.pivot_table.html for different columns >>> table = pivot_table(df, values=['D', 'E'], index=['A', 'C'], aggfunc={'D': np.mean, 'E': [min, max, np.mean]})
>>> table = pivot_table(df, values=['D', 'E'], index=['A', 'C'], aggfunc={'D': np.mean, 'E': [min, max, np.mean]})
Multiaggregate functions in DataFrame.pivot_table like in http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.pivot_table.html for different columns
>>> table = pivot_table(df, values=['D', 'E'], index=['A', 'C'], aggfunc={'D': np.mean, 'E': [min, max, np.mean]})