As of numpy v1.20, numpy.float as well as similar aliases, including numpy.int, were deprecated. These are simply aliases for the builtin float and int. numpy v1.24.0 has removed these aliases completely, leading to an AttributeError whenever they are called.
As of
numpy
v1.20,numpy.float
as well as similar aliases, includingnumpy.int
, were deprecated. These are simply aliases for the builtinfloat
andint
.numpy
v1.24.0 has removed these aliases completely, leading to anAttributeError
whenever they are called.