W3cubDocs

/pandas 0.23

pandas.Timedelta.round

Timedelta.round

Round the Timedelta to the specified resolution

Parameters:
freq : a freq string indicating the rounding resolution
Returns:
a new Timedelta rounded to the given resolution of `freq`
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.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Timedelta.round.html