Test aggregation of vector data by vector data when `agg_func` is a `list` of `str`
Open
Nobody has claimed this yet.
method: aggregation 🔢
needs: triage
priority: low
- Dominant language
- Python
- Stars
- 394
- Forks
- 95
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 7
Description
Observed by @quentinblampey. Seems like zonal_stats() deals with the list case, but not pd.GroupBy.agg() (used in the vector by vector case).
Contributor guide
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 vector-by-vector path that uses pd.GroupBy.agg(), then compare its handling of agg_func as a list of str with the existing zonal_stats() behavior. Reproduce the issue with vector data and confirm that list-based aggregation works as intended, adding or updating the relevant test if one is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100