dotnet / dotnet/machinelearning
How to Group By with multiple columns?
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
**Is your feature request related to a problem? Please describe.**
I want can use `GroupBy `with list input column for dataframe
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
It could be good like this and allow return with new dataframe
```
var groupBy = df.GroupBy(new string[] { "Area", "Level" });
```
Or :
```
df.GroupBy("Level", "Building Name").Select("Source File", "Area", "Level", "Building Name");
```
This is python :
```
df_report_grouped = df_report.groupby(['Building Name', 'Level'])['Area'].sum().reset_index()
```
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
Assessment
This issue has not been assessed yet.