pandas.Series.dt.to_pytimedelta

pandas 3.1.1 · Series and accessors · method

Convert pandas durations to standard-library timedelta objects.

Call syntax

Series.dt.to_pytimedelta()

Run the example

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

Parameters

This call takes no arguments.

Returns

numpy.ndarray