[Numpy-discussion] Convert array type

Adam Mercer ramercer@gmail....
Sun Oct 7 00:02:43 CDT 2007


On 07/10/2007, Gary Ruben <gruben@bigpond.net.au> wrote:

> Try using astype. This works:
>
> values = array(wavearray.split()).astype(float)

Thanks Gary, that does the trick.

Cheers

Adam


More information about the Numpy-discussion mailing list