Open Andre-Medina opened 10 months ago
thanks @Andre-Medina for the report, this needs fixing, running a git bisect now
From git bisect, this was introduced in #56767, @phofl
I am not sure that it is sensible to fix this, the new behavior aligns with DataFrame, which didn't support this before either.
dates.dt.round("30min")
That's what you want to do, we can fix this theoretically, but we should address the dataframe behavior as well then
hello :panda_face: folks, you guys gonna fix this in 2.2.3 please? Cheers muchly :beer:
re-raised this issue as it is still broken.
Pandas version checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pandas.
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Issue with the latest version of pandas (2.2.0). Rounding dates at 30 min increments does not round dates if they are in a series. This was working in pandas (2.1.4)
Expected Behavior
Dates should be rounded to 30 minute increments
import pandas as pd
Installed Versions