modin.pandas.TimedeltaIndex.round

TimedeltaIndex.round(freq: Frequency) TimedeltaIndex[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/timedelta_index.py#L306-L327)

Perform round operation on the data to the specified freq.

Parameters:

freq (str or Offset) – The frequency level to round the index to. Must be a fixed frequency like ‘S’ (second) not ‘ME’ (month end). See frequency aliases for a list of possible freq values.

Return type:

TimedeltaIndex with round values.

Raises:

ValueError if the freq cannot be converted.

Language: English