Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: TypeError: data type 'int0' not understood #22672

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

Closed
ogrisel opened this issue Nov 25, 2022 · 2 comments · Fixed by #22676
Closed

BUG: TypeError: data type 'int0' not understood #22672

ogrisel opened this issue Nov 25, 2022 · 2 comments · Fixed by #22676
Labels

Comments

@ogrisel
Copy link
Contributor

ogrisel commented Nov 25, 2022

Describe the issue:

I think dtype was meant to be deprecated (as per #15334) but apparently the dtype disappeared without notice since last night's nightly build.

Reproduce the code example:

import numpy as np
np.dtype("int0")

Error message:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: data type 'int0' not understood

NumPy/Python version information:

1.25.0.dev0+11.ga872fd73e

Context for the issue:

No response

@seberg
Copy link
Member

seberg commented Nov 25, 2022

Yah, I meant np.int0 to go away mainly, didn't feel like doing the far more complicated np.dtype("int0") dance just before branching.

@ogrisel
Copy link
Contributor Author

ogrisel commented Nov 28, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants