StratoDem / pandas-js

Pandas in JavaScript for data analysis and visualization
https://stratodem.github.io/pandas.js-docs
MIT License
458 stars 36 forks source link

Multiaggregate functions in DataFrame.pivot_table for different columns #53

Open pikhovkin opened 6 years ago

pikhovkin commented 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]})