pandas.Timestamp.to_numpy

Timestamp.to_numpy()

Convert the Timestamp to a NumPy datetime64.

New in version 0.25.0.

This is an alias method for Timestamp.to_datetime64(). The dtype and copy parameters are available here only for compatibility. Their values will not affect the return value.

Returns
numpy.datetime64

See also

DatetimeIndex.to_numpy

Similar method for DatetimeIndex.