-
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
Deprecate Series.hash_encode. #9457
Deprecate Series.hash_encode. #9457
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.12 #9457 +/- ##
================================================
- Coverage 10.79% 10.66% -0.13%
================================================
Files 116 117 +1
Lines 18869 19753 +884
================================================
+ Hits 2036 2106 +70
- Misses 16833 17647 +814
Continue to review full report at Codecov.
|
rerun tests |
@gpucibot merge |
…9458) This PR implements `DataFrame.hash_values`, which will replace `DataFrame.hash_columns` (which is deprecated in this PR). This proposal was discussed offline with @vyasr and in the weekly cuDF Python dev meeting. This unifies the method name and signature for `Series.hash_values` and `DataFrame.hash_values`, enabling future internal refactoring by moving the method's implementation to the `Frame` class (though I'm waiting for the removal of `Series.hash_encode` to follow up on this so it can be done in a single pass, see #9381 and #9457). Authors: - Bradley Dice (https://github.com/bdice) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Sheilah Kirui (https://github.com/skirui-source) - Ram (Ramakrishna Prabhu) (https://github.com/rgsl888prabhu) URL: #9458
This PR removes the deprecated method `Series.hash_encode`. Resolves #9475. Follows up on #9457, #9381. This PR also removes libcudf code paths used solely for this Python method. Users may replace code like `series.hash_encode(stop, use_name=False)` with `series.hash_values(method="murmur3") % stop`. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Ram (Ramakrishna Prabhu) (https://github.com/rgsl888prabhu) - Conor Hoekstra (https://github.com/codereport) URL: #9942
Resolves #9381 by deprecating
Series.hash_encode
. See issue for details.