Add support for multiple aggregations on a single column
See original GitHub issueIt’d be useful if we could perform multiple aggregations on a single column like pandas.
df.groupby('a').agg({'b': ['min', 'max', 'mean']})
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Multiple aggregations of the same column using pandas ...
To support column-specific aggregation with control over the output column names, pandas accepts the special syntax in GroupBy.agg() , known ...
Read more >Group and Aggregate by One or More Columns in Pandas
Here's a quick example of how to group on one or multiple columns and summarise data with aggregation functions using Pandas.
Read more >Group rows of data (Power Query) - Microsoft Support
Select Home > Group by. In the Group by dialog box, select Advanced to select more than one column to group by. Add...
Read more >How to Calculate Multiple Aggregate Functions in a Single ...
Let's imagine, we'd like to add more combinations of grouping columns, e.g.. SELECT language_id, rating, count (*). FROM ...
Read more >Pandas GroupBy Multiple Columns Explained
groupby() can take the list of columns to group by multiple columns and use the aggregate functions to apply single or multiple aggregations...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @harupy, We recently added a basic multi-index support in columns (#590). Does that help you submit a PR?
@harupy would you be able to submit a pull request to address this?