[FEA] Support series.dt.round
and DatetimeIndex.round
operation
#9652
Labels
Milestone
series.dt.round
and DatetimeIndex.round
operation
#9652
Is your feature request related to a problem? Please describe.
Support for
ceil
was added in #8942 andfloor
in #9571 for aSeries.dt
column type. #9554 addresses adding support forceil
andfloor
for aDatetimeIndex
column. Once we are able to supportceil
andfloor
on columns of typedatetime64[ns]
, it would be great to add support forround
operation as well.This can eventually be followed by issue #9561.
Describe the solution you'd like
Series.dt.round
DatetimeIndex.round
Additional context
https://pandas.pydata.org/docs/reference/api/pandas.Series.dt.round.html
https://pandas.pydata.org/docs/reference/api/pandas.DatetimeIndex.round.html?#pandas-datetimeindex-round
The text was updated successfully, but these errors were encountered: