-
-
Notifications
You must be signed in to change notification settings - Fork 26k
MNT Replaces numpy alias with builtin typse #17687
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
MNT Replaces numpy alias with builtin typse #17687
Conversation
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. What is the reason to make this change?
A similar fix was done to numpy earlier numpy/numpy#14901 and they mostly use |
Now that the For instance, see this job. |
Thanks @alfaro96 it makes sense then. |
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.
I agree that np.float32
or np.float64
are much better, but that's more of another thread of issues and improvements that's going on, and I think deserve their own PRs. I'm happy with this one as is.
* MNT Replaces numpy alias with builtin typse * STY Lint error
xref numpy/numpy#14882 |
* MNT Replaces numpy alias with builtin typse * STY Lint error
This PR was generated by:
Numpy alias to python builtins are deprecated in 1.20
CC: @adrinjalali I hear you like the command line :)