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

pandas.Timedelta.ceil

Timedelta. ceil ( freq )

Return a new Timedelta ceiled to this resolution.

Parameters
freq :str

Frequency string indicating the ceiling 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.ceil.html