polars.Series.dt.tz_localize#

Series.dt.tz_localize(tz: str) Series[source]#

Localize tz-naive Datetime Series to tz-aware Datetime Series.

This method takes a naive Datetime Series and makes this time zone aware. It does not move the time to another time zone.

Parameters:
tz

Time zone for the Datetime Series.