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

dmitrey dmitrey.kroshko@scipy....
Sun Oct 5 04:31:51 CDT 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