[FEA] Add multi-aggregation support to DataFrame groupBy
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 211
- Forks
- 29
- Avg merge
- 17h 30m
- Merged PRs (30d)
- 1
Description
Users should be able to do multiple aggregations on a GroupBy:
const df = DataFrame({
a: Series.new([0, 0]),
b: Series.new([0, 100]),
c: Series.new([0, 100]),
});
df.groupBy({by: "a"}).aggregate({ min: ["b", "c"], max: "c" });
// a | b_min | c_min | c_max
// 0 | 0 | 0 | 100
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the DataFrame.groupBy entry point and the GroupBy.aggregate implementation. Compare the current aggregation API with the issue's example, then verify that one grouped operation can produce b_min, c_min, and c_max with the shown values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100