Pre-release builds reveal np.float, np.complex, np.int are deprecated aliases to builtin float, complex and int.
We can switch to using the builtins directly with no consequence. It might also be worth looking at whether a more precise type (e.g. numpy.float32 where float will typically be interpreted as numpy.float64) is appropriate in some cases.
Pre-release builds reveal
np.float,np.complex,np.intare deprecated aliases to builtinfloat,complexandint.We can switch to using the builtins directly with no consequence. It might also be worth looking at whether a more precise type (e.g.
numpy.float32wherefloatwill typically be interpreted asnumpy.float64) is appropriate in some cases.