Converting list to numpy array
If you have a list of lists, you only needed to use ...
import numpy as np...npa = np.asarray(someListOfLists, dtype=np.float32)
per this LINK in the scipy / numpy documentation. You just needed to define dtype inside the call to asarray.