-
Notifications
You must be signed in to change notification settings - Fork 927
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
MD5 Python hash API #9390
MD5 Python hash API #9390
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.12 #9390 +/- ##
================================================
- Coverage 10.79% 10.76% -0.03%
================================================
Files 116 116
Lines 18869 19478 +609
================================================
+ Hits 2036 2096 +60
- Misses 16833 17382 +549
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
"a multi hash-step data point in the hash function being " | ||
"tested. This string needed to be longer." | ||
), | ||
"All work and no play makes Jack a dull boy", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<heres_johnny.gif>
@gpucibot merge |
This PR introduces a public API in cuDF for MD5 hashing, using the parameter
DataFrame.hash_columns(..., method="md5")
orSeries.hash_values(..., method="md5")
. The default hashing method is MurmurHash3 (method="murmur3"
). I also changed the return value ofSeries.hash_values
to be aSeries
, rather than a cupy array.Related to #8641. SHA support will be added in a later PR.