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

dmitrey dmitrey.kroshko@scipy....
Wed Oct 1 08:04:27 CDT 2008


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



More information about the Numpy-discussion mailing list