polars.Series.dt.mean# Series.dt.mean() → TemporalLiteral | float | None[source]# Return mean as python DateTime. Examples >>> from datetime import datetime >>> s = pl.Series( ... [datetime(2001, 1, 1), datetime(2001, 1, 2), datetime(2001, 1, 3)] ... ) >>> s.dt.mean() datetime.datetime(2001, 1, 2, 0, 0)