NumPy

numpy.lib.user_array.container.astype

method

container.astype(self, typecode)[source]