MNT Replaces numpy alias with builtin typse#17687
MNT Replaces numpy alias with builtin typse#17687adrinjalali merged 2 commits intoscikit-learn:masterfrom
Conversation
glemaitre
left a comment
There was a problem hiding this comment.
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. |
adrinjalali
left a comment
There was a problem hiding this comment.
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 :)