SciPy

numpy.lib.user_array.container.astype

container.astype(typecode)[source]