[Numpy-discussion] asscalar(number) - why yields error, why can't return the number?!

dmitrey dmitrey.kroshko at scipy.org
Sun Oct 5 05:31:51 EDT 2008


hi all,
I wonder why numpy.asscalar(1.5) yields error, why it can't just return 
1.5? Is it intended to be ever changed?

 >>> numpy.__version__
'1.3.0.dev5864'

D.



More information about the NumPy-Discussion mailing list