We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
np.float
float
Hello,
Using numpy 1.20 seeing a DeprecationWarning traced to https://github.com/tommyod/KDEpy/blob/master/KDEpy/binning.py#L79
Probably a simple change needed to change np.float to np.float64 or float, as noted in the warning.
np.float64
Thanks for this package.
Stacktrace:
/Users/delaurentis/miniconda3/envs/dra/lib/python3.7/site-packages/KDEpy/binning.py:79: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations data = np.asarray_chkfinite(data, dtype=np.float)
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. If you want you are welcome to create a PR. If not I will get around to it sometime.
Sorry, something went wrong.
tommyod
Successfully merging a pull request may close this issue.
Hello,
Using numpy 1.20 seeing a DeprecationWarning traced to https://github.com/tommyod/KDEpy/blob/master/KDEpy/binning.py#L79
Probably a simple change needed to change
np.float
tonp.float64
orfloat
, as noted in the warning.Thanks for this package.
Stacktrace:
The text was updated successfully, but these errors were encountered: