W3cubDocs

/pandas 0.22

pandas.Series.dt.round

Series.dt.round(*args, **kwargs) [source]

round 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.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Series.dt.round.html