File tree 2 files changed +1
-14
lines changed
2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ Removal of prior version deprecations/changes
126
126
- ``Index`` has dropped the ``.sym_diff()`` method in favor of ``.symmetric_difference()`` (:issue:`12591`)
127
127
- ``Categorical`` has dropped the ``.order()`` and ``.sort()`` methods in favor of ``.sort_values()`` (:issue:`12882`)
128
128
- :func:`eval` and :method:`DataFrame.eval` have changed the default of ``inplace`` from ``None`` to ``False`` (:issue:`11149`)
129
+ - The function ``get_offset_name`` has been dropped in favor of the ``.freqstr`` attribute for an offset (:issue:`11834`)
129
130
130
131
131
132
.. _whatsnew_0210.performance:
Original file line number Diff line number Diff line change @@ -637,20 +637,6 @@ def get_offset(name):
637
637
getOffset = get_offset
638
638
639
639
640
- def get_offset_name (offset ):
641
- """
642
- Return rule name associated with a DateOffset object
643
-
644
- Examples
645
- --------
646
- get_offset_name(BMonthEnd(1)) --> 'EOM'
647
- """
648
-
649
- msg = "get_offset_name(offset) is deprecated. Use offset.freqstr instead"
650
- warnings .warn (msg , FutureWarning , stacklevel = 2 )
651
- return offset .freqstr
652
-
653
-
654
640
def get_standard_freq (freq ):
655
641
"""
656
642
Return the standardized frequency string
You can’t perform that action at this time.
0 commit comments