astype

emlib.numpytools.astype(a, typedescr)[source]

The same as: if a.dtype != typedescr: a = as.astype(typedescr)

Return type:

ndarray