polars.internals.series.DateTimeNameSpace.hours

DateTimeNameSpace.hours() polars.internals.series.Series

Extract the hours from a Duration type.

Returns
A series of dtype Int64