pandas.DatetimeIndex.to_pydatetime

pandas 3.1.1 · Index objects · method

Convert timestamps to standard-library datetime objects.

Call syntax

DatetimeIndex.to_pydatetime()

Run the example

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

Parameters

This call takes no arguments.

Returns

numpy.ndarray