-
Notifications
You must be signed in to change notification settings - Fork 653
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
BUG: DeprecationWarning from using np.bool #4570
Comments
NickCrews
changed the title
DeprecationWarning from using np.bool
BUG: DeprecationWarning from using np.bool
Jun 11, 2022
8 tasks
NickCrews
added a commit
to NickCrews/modin
that referenced
this issue
Jun 11, 2022
I was getting: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations I assume that this is the correct substitution, instead of chaning to a simple `bool`, but I don't understand what this code does here, so I may be wrong. Signed-off-by: Nick Crews <nicholas.b.crews@gmail.com>
NickCrews
added a commit
to NickCrews/modin
that referenced
this issue
Jun 14, 2022
See modin-project#4571 Co-authored-by: Devin Petersohn <devin-petersohn@users.noreply.github.com>
RehanSD
added a commit
that referenced
this issue
Jun 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get:
Simple follow up patch to follow.
The text was updated successfully, but these errors were encountered: