-
Notifications
You must be signed in to change notification settings - Fork 903
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
WIP,API: Enable full Numpy2 compat #15897
Closed
Closed
Commits on May 31, 2024
-
API: Change Scalar to raise for invalid Python values
This aligns with NumPy, which deprecated this since a while and raises an error now, for example for `Scalar(-1, dtype=np.uint8)`. Necessary to ensure we give the right errors when promotion doesn't up-cast based on values.
Configuration menu - View commit details
-
Copy full SHA for 704771d - Browse repository at this point
Copy the full SHA 704771dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd27aa0 - Browse repository at this point
Copy the full SHA fd27aa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf1558 - Browse repository at this point
Copy the full SHA ecf1558View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a52ba - Browse repository at this point
Copy the full SHA a5a52baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89162d1 - Browse repository at this point
Copy the full SHA 89162d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21d25aa - Browse repository at this point
Copy the full SHA 21d25aaView commit details -
MAINT: Adapt to e.g. uint8(-1) failing now. Mostly in where.
Note that pandas `where` seems to promote the Series based on the value even with NumPy 2. This was never copied by cudf (i.e. an outstanding issue)
Configuration menu - View commit details
-
Copy full SHA for b17af57 - Browse repository at this point
Copy the full SHA b17af57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e5d611 - Browse repository at this point
Copy the full SHA 9e5d611View commit details -
MAINT: Adapt numerical promotion to NumPy 2 and Pandas 2.2
Pandas keeps using weak promotion even for strongly typed "scalars" (i.e. 0-d objects). This tries to (mostly) match that, but there may be better ways to do it. I am having difficulty to think of the best way though.
Configuration menu - View commit details
-
Copy full SHA for 314d047 - Browse repository at this point
Copy the full SHA 314d047View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1c7224 - Browse repository at this point
Copy the full SHA d1c7224View commit details -
Configuration menu - View commit details
-
Copy full SHA for d69d9cb - Browse repository at this point
Copy the full SHA d69d9cbView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.