Deprecation warning with numpy 1.20
jaromrax opened this issue · 1 comments
jaromrax commented
With numpy Version: 1.20.1 and the line
root_numpy.fill_hist( predefined_histo, numpy_array )
I get
/home/***/.local/lib/python3.8/site-packages/root_numpy/_hist.py:75: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
return _librootnumpy.fill_h1(
while in Numpy version 1.19, everything is quiet.
Thanks.
kratsg commented
Please see the readme: https://github.com/scikit-hep/root_numpy#warningroot_numpy-is-deprecated-and-unmaintainedwarning
This is not being maintained anymore. Please look into using uproot
instead: https://github.com/scikit-hep/uproot4