pandas / 1.4.0 / reference / api / pandas.timedelta.floor.html /

pandas.Timedelta.floor

Timedelta. floor ( freq )

Return a new Timedelta floored to this resolution.

Parameters
freq :str

Frequency string indicating the flooring resolution.

© 2008–2022, 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/1.4.0/reference/api/pandas.Timedelta.floor.html