pandas.Timedelta.to_timedelta64

pandas 3.1.1 · Arrays, scalars, and data types · method

Convert a pandas duration to a NumPy timedelta64 scalar.

Call syntax

Timedelta.to_timedelta64()

Run the example

Edit the example and select Run Python to see the result.

Parameters

This call takes no arguments.

Returns

np.timedelta64