-
Notifications
You must be signed in to change notification settings - Fork 915
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
Add DataFrame.pivot_table. #12015
Add DataFrame.pivot_table. #12015
Conversation
Should all the arguments that aren't supported and raise |
Since this code is a pure wrapper around the module-level function, I didn’t add any tests beyond some API parametrizations. We could do that for completeness but code coverage won’t change. |
SGTM |
Codecov ReportBase: 87.40% // Head: 88.15% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #12015 +/- ##
================================================
+ Coverage 87.40% 88.15% +0.74%
================================================
Files 133 133
Lines 21833 21981 +148
================================================
+ Hits 19084 19378 +294
+ Misses 2749 2603 -146
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@gpucibot merge |
Description
This PR adds the method
DataFrame.pivot_table
to enhance pandas API compatibility. It uses the exact same arguments ascudf.pivot_table
but automatically supplies the first argument (a DataFrame).Related: #11314
Checklist