modin.pandas.TimedeltaIndex.floor

TimedeltaIndex.floor(freq: Frequency) TimedeltaIndex[source]

Perform floor operation on the data to the specified freq.

Parameters:

freq (str or Offset) – The frequency level to floor 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 floor values.

Raises:

ValueError if the freq cannot be converted.