[Numpy-discussion] howto convert float array to array of integers
dmitrey
dmitrey.kroshko@scipy....
Fri Oct 5 06:56:25 CDT 2007
hi all,
I have an array like
array([ 1., 0., 2., -10.])
what is most efficient (i.e. fastest) way to convert the one to array of
integers?
array([ 1, 0, 2, -10])
Thx in advance, D.
More information about the Numpy-discussion
mailing list