polars.internals.expr.ExprDateTimeNameSpace.epoch

ExprDateTimeNameSpace.epoch(tu: str = 'us') polars.internals.expr.Expr

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

Parameters
tu

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