polars.internals.series.DateTimeNameSpace.and_time_unit

DateTimeNameSpace.and_time_unit(tu: str) polars.internals.series.Series

Set time unit a Series of type Datetime

..deprecated::

Use with_time_unit

Parameters
tu

Time unit for the Datetime Series: any of {“ns”, “us”, “ms”}