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
TimedeltaIndex and PeriodIndex only have freq, so it seems like we could keep freq for consistency, deprecate DatetimeIndex.offset, and modify the DatetimeIndex code to only use freq.
The text was updated successfully, but these errors were encountered:
DatetimeIndex.offset
andDatimeIndex.freq
refer to the same thing, and are used interchangeably throughout the code forDatetimeIndex
:pandas/pandas/core/indexes/datetimes.py
Lines 1729 to 1732 in 4a34497
Is there a reason for having both?
TimedeltaIndex
andPeriodIndex
only havefreq
, so it seems like we could keepfreq
for consistency, deprecateDatetimeIndex.offset
, and modify theDatetimeIndex
code to only usefreq
.The text was updated successfully, but these errors were encountered: