[Numpy-discussion] why type(array(1).tolist()) is int?

dmitrey dmitrey.kroshko at scipy.org
Wed Oct 1 09:04:27 EDT 2008


hi all,
why array(1).tolist() returns 1? I expected to get [1] instead.
D.




More information about the NumPy-Discussion mailing list