polars.internals.expr.ExprDateTimeNameSpace.hours

ExprDateTimeNameSpace.hours() polars.internals.expr.Expr

Extract the hours from a Duration type.

Returns
A series of dtype Int64