Block.cast

Block.cast(self, dtype)

Cast this Block to use another data type.

Parameters:
dtype : str or numpy.dtype

The new data type.