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

Fixed deprecated np.float issue by replacing with float to ensure com… #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

myousaf
Copy link

@myousaf myousaf commented Oct 30, 2024

…patibility with latest NumPy versions.

NumPy 1.20 (release notes) deprecated numpy.float, numpy.int, and similar aliases, causing them to issue a deprecation warning

NumPy 1.24 (release notes) removed these aliases altogether, causing an error when they are used

For more details, follow the link:

https://stackoverflow.com/questions/74844262/how-can-i-solve-error-module-numpy-has-no-attribute-float-in-python

…patibility with latest NumPy versions.

NumPy 1.20 (release notes) deprecated numpy.float, numpy.int, and similar aliases, causing them to issue a deprecation warning

NumPy 1.24 (release notes) removed these aliases altogether, causing an error when they are used

For more details, follow the link:

https://stackoverflow.com/questions/74844262/how-can-i-solve-error-module-numpy-has-no-attribute-float-in-python
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

Successfully merging this pull request may close these issues.

1 participant