polars.datatypes.Duration

class polars.datatypes.Duration(*args, **kwargs)

Time duration/delta type

Methods

string_repr

__init__(time_unit: str = 'us')

Time duration/delta type

Parameters
time_unit

Any of {‘ns’, ‘us’, ‘ms’}

Methods

__init__([time_unit])

Time duration/delta type

string_repr()