numpy.generic.astype

method

generic.astype()

Scalar method identical to the corresponding array attribute.

Please see ndarray.astype.