polars.internals.series.DateTimeNameSpace.epoch

DateTimeNameSpace.epoch(tu: str = 'us') polars.internals.series.Series

Get the time passed since the Unix EPOCH in the give time unit

Parameters
tu

One of {‘ns’, ‘us’, ‘ms’, ‘s’, ‘d’}