numpy.record.astype#
method
- record.astype(/, dtype, order='K', casting='unsafe', subok=True, copy=True)#
Cast the scalar to a specified data type.
For immutable scalars, an equivalent
dtypereturns the original scalar, regardless of the value ofcopy.