In [1]:
import numpy as np

In [2]:
x = np.array([1,2,34,5])

In [3]:
print x.astype(float)


[  1.   2.  34.   5.]

In [ ]: