Home
What's New in 1.0.0
Getting started
User Guide
API reference
Development
Release Notes
Input/output
General functions
Series
DataFrame
Pandas arrays
Panel
Index objects
Date offsets
Window
GroupBy
Resampling
Style
Plotting
General utility functions
Extensions
pandas.DatetimeIndex.snap
¶
DatetimeIndex.
snap
(
self
,
freq='S'
)
[source]
¶
Snap time stamps to nearest occurring frequency.
Returns
DatetimeIndex
pandas.DatetimeIndex.strftime
pandas.DatetimeIndex.tz_convert