pandas / 0.22.0 / generated / pandas.timedeltaindex.floor.html /

pandas.TimedeltaIndex.floor

TimedeltaIndex.floor(freq) [source]

floor the index to the specified freq

Parameters: freq : freq string/object
Returns: index of same type
Raises: ValueError if the freq cannot be converted

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.TimedeltaIndex.floor.html