-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: algos.rank with readonly values #38396
Conversation
@@ -824,7 +824,7 @@ def rank_1d( | |||
if values.dtype != np.object_: | |||
values = values.astype('O') | |||
else: | |||
values = np.asarray(in_arr) | |||
values = np.asarray(in_arr).copy() |
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.
prob can remove L838-841 as we are always copying no?
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.
good idea, updated
updated + green, this will fix the npdev CI build |
great |
@meeseeksdev backport 1.2.x |
Co-authored-by: jbrockmendel <jbrockmendel@gmail.com>
One of the two current npdev failures is caused by numpy/numpy#17884