-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
arr.astype(None) converts to float64 #18774
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
Comments
Related to #10405. I guess in the case of |
Its true, we could c
A4A3
hange the way we use |
I'm not sure if it's exactly that, since it's a required positional argument so there is no default. The "inspiration" for this issue was that I had
I think |
Right, it would be nice if someone wants to try the deprecation, I just have no idea how hard it is (basically, this means we try it and if the big downstream libraries are fine, we can likely get away with it). You are right that So I personally agree that it would be a good change, the only thing I am not sure about is the |
arr.astype(None)
convertsarr
tofloat64
. I'd expect this to either error, or do nothing. Doc string says:Which makes it seem like it should error.
Reproducing code example:
Error message:
NumPy/Python version information:
The text was updated successfully, but these errors were encountered: