DatetimeIndex.floor()

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
登录查看完整内容