numpy.float is an alias to the python float builtin. https://github.com/numpy/numpy/issues/3998
On Thu, Mar 22, 2018 at 2:26 PM Olivier <oc-spa...@laposte.net> wrote: > Hello, > > > Is it normal, expected and desired that : > > > round(numpy.float64(0.0)) is a numpy.float64 > > > while > > round(numpy.float(0.0)) is an integer? > > > I find it disturbing and misleading. What do you think? Has it already been > discussed somewhere else? > > > Best regards, > > > Olivier > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion