JuliaData / JuliaData/DataFramesMeta.jl
Filtering groups by condition
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 496
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
In the past the following DataFrames.jl syntax was also supported in DataFramesMeta.jl:
filter(groupby(df, :id), x -> mean(x.col) > 10)
In general - maybe we should have @filter (instead of @rsubset) that is rowwise/pergroup, to match planned @rselect, @rcombine?
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 reviewing how DataFrames.jl’s filter(groupby(...)) behavior relates to DataFramesMeta.jl’s @rsubset, along with the planned @rselect and @rcombine conventions. Clarify whether a new @filter should support rowwise and per-group operation, then define coverage for the grouped mean example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100