pandas.DatetimeIndex.floor
-
DatetimeIndex.floor(freq)
[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.20.3/generated/pandas.DatetimeIndex.floor.html