Closed
Description
There's currently 4 pages in the docs which mention BaseOffset:
- https://pandas.pydata.org/docs/reference/api/pandas.Period.asfreq.html
- https://pandas.pydata.org/docs/reference/api/pandas.Period.now.html
- https://pandas.pydata.org/docs/reference/api/pandas.tseries.frequencies.to_offset.html
However, BaseOffset
isn't user-facing
Should they just be replaced with DateOffset
?
This is also relevant for pandas-stubs
which uses BaseOffset
in a few places
@jbrockmendel is this ok to do?
Based on
pandas/pandas/_libs/tslibs/offsets.pyx
Lines 1620 to 1632 in 0c4ca3a
they should be interchangeable?