modin.pandas.TimedeltaIndex.as_unit¶
- TimedeltaIndex.as_unit(unit: str) TimedeltaIndex[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/modin/plugin/extensions/timedelta_index.py#L201-L203)¶
Convert to a dtype with the given unit resolution.
- Parameters:
unit ({'s', 'ms', 'us', 'ns'}) –
- Return type:
Examples