SciPy

numpy.lib.user_array.container.astype

method

container.astype(typecode)[source]