xarray.CFTimeIndex.floor

xarray.CFTimeIndex.floor#

CFTimeIndex.floor(freq)[source]#

Round dates down to fixed frequency.

Parameters

freq (str) – 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 values.

Returns

CFTimeIndex