modin.pandas.DatetimeIndex.as_unit¶
- DatetimeIndex.as_unit(unit: str) DatetimeIndex[source]¶
Convert to a dtype with the given unit resolution.
- Parameters:
unit ({'s', 'ms', 'us', 'ns'}) –
- Return type:
same type as self
Examples
Convert to a dtype with the given unit resolution.
unit ({'s', 'ms', 'us', 'ns'}) –
same type as self
Examples