-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REVIEW] Create agg() function for dataframes #6483
[REVIEW] Create agg() function for dataframes #6483
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #6483 +/- ##
===============================================
- Coverage 81.96% 81.95% -0.02%
===============================================
Files 96 96
Lines 16177 16294 +117
===============================================
+ Hits 13260 13353 +93
- Misses 2917 2941 +24
Continue to review full report at Codecov.
|
As we discussed, >>> pdf = pd.DataFrame({"a":[1,2,3], "b":[3.0, 4.0, 5.0], "c":[True, True, False]})
>>> pdf.agg("sum")
a 6.0
b 12.0
c 2.0
dtype: float64
>>> pdf = pd.DataFrame({"a":[1,2,3], "b":[3, 4, 5], "c":[True, True, False]})
>>> pdf.agg("sum")
a 6
b 12
c 2
dtype: int64 I would suggest you use |
FYI I changed the branch to 0.17 so you'll likely need to merge in upstream |
I think this needs "feature", "improvement", or "bug" label (and to pass CI). |
Looks like a few failures need to be addressed: https://gpuci.gpuopenanalytics.com/job/rapidsai/job/gpuci-a100/job/cudf/job/prb/job/cudf-gpu-build/2204/testReport/ |
@skirui-source test cases are failing |
Closes #5247
Adds
agg
function for DataFrame