From the dev-chat #22274 (comment) and a rehash of #20633
Conclusion:
- Make the offset alias
'D' and offsets.Day always operate as a calendar day.
Technical implication:
Day will need to subclass DateOffset instead of Tick
Operations that will change behavior (may be missing some):
Day arithmetic with Timestamp/DTI/datetime Series/DataFrame
DatetimeIndex.shift
- Any use of
'D' with Timedelta/TDI/timedelta Series/DataFrame
- Tick arithmetic with
Day
Deprecation Procedures (could use some input here)
- None
- None
DeprecationWarning that users should use '24 H' instead of 'D' and allow users to use 'D' for v0.24.0
- None
cc @pandas-dev/pandas-core