You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do type checkers understand the isinstance override behavior? Using BaseOffset strikes me as less likely to cause misunderstandings.
Isn't there a namespace like pd.typing for things that aren't supposed to be used directly by users but can be used for annotation purposes? Seems like BaseOffset would be a good fit there.
There's currently 4 pages in the docs which mention BaseOffset:
However,
BaseOffset
isn't user-facingShould they just be replaced with
DateOffset
?This is also relevant for
pandas-stubs
which usesBaseOffset
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?
The text was updated successfully, but these errors were encountered: