Skip to content
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

Change deprecated NumPy types: np.object, np.bool, ... #757

Closed
magnunor opened this issue Apr 12, 2021 · 3 comments
Closed

Change deprecated NumPy types: np.object, np.bool, ... #757

magnunor opened this issue Apr 12, 2021 · 3 comments

Comments

@magnunor
Copy link
Collaborator

As of NumPy 1.20.0 aliases for a number of types have been deprecated: https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated

In practice, this means np.object should be replaced with object, np.bool with bool.

@pc494
Copy link
Member

pc494 commented Apr 13, 2021

Yup, this was another one I had noticed and earmarked for the patch release.

@pc494
Copy link
Member

pc494 commented Apr 14, 2021

I missed np.int when I did this

@magnunor
Copy link
Collaborator Author

magnunor commented May 7, 2022

All done!

@magnunor magnunor closed this as completed May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants