pandas / 0.22.0 / generated / pandas.series.dt.floor.html /

pandas.Series.dt.floor

Series.dt.floor(*args, **kwargs) [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.Series.dt.floor.html