pandas.Series.dt.normalize

pandas 3.1.1 · Series and accessors · method

Set the clock time to midnight while preserving the calendar date and timezone.

Call syntax

Series.dt.normalize()

Run the example

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

Parameters

This call takes no arguments.

Returns

DatetimeArray, DatetimeIndex or Series