polars.Duration#

class polars.Duration(*args: Any, **kwargs: Any)[source]#

Time duration/delta type.

__init__(time_unit: TimeUnit = 'us')[source]#

Time duration/delta type.

Parameters:
time_unit{‘us’, ‘ns’, ‘ms’}

Time unit.

Methods

__init__([time_unit])

Time duration/delta type.

string_repr()

Attributes

tu