Hi,
why does
numpy.round(a)
return a float ?

I need something that I can use as indices for another array. Do I
have to (implicitly) create a temporary array  and use:
N.round(a).astype(N.int)  ?

Or is there a simple, clean and easy way to just round
[1.1 4.8]
into
[1 5]

Thanks,
Sebastian
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to