polars.Expr.dt.time#

Expr.dt.time() Expr[source]#

Extract time.

Applies to Datetime columns only; fails on Date.

Returns:
Expr

Expression of data type Time.