File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 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
126126- ``Index`` has dropped the ``.sym_diff()`` method in favor of ``.symmetric_difference()`` (:issue:`12591`)
127127- ``Categorical`` has dropped the ``.order()`` and ``.sort()`` methods in favor of ``.sort_values()`` (:issue:`12882`)
128128- :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`)
129130
130131
131132.. _whatsnew_0210.performance:
Original file line number Diff line number Diff line change @@ -637,20 +637,6 @@ def get_offset(name):
637637getOffset = get_offset
638638
639639
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-
654640def get_standard_freq (freq ):
655641 """
656642 Return the standardized frequency string
You can’t perform that action at this time.
0 commit comments