From 4dd831d63bb0266a6aa1e0bf47facde592172e25 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 24 Nov 2023 08:44:04 -0500 Subject: [PATCH] GH# --- doc/source/whatsnew/v2.2.0.rst | 2 +- pandas/tests/groupby/test_groupby.py | 2 +- pandas/tests/groupby/test_grouping.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8d4459b8573e7..4d692557e98a8 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -311,7 +311,7 @@ Other Deprecations - Deprecated the previous implementation of :class:`DataFrame.stack`; specify ``future_stack=True`` to adopt the future version (:issue:`53515`) - Deprecating downcasting the results of :meth:`DataFrame.fillna`, :meth:`Series.fillna`, :meth:`DataFrame.ffill`, :meth:`Series.ffill`, :meth:`DataFrame.bfill`, :meth:`Series.bfill` in object-dtype cases. To opt in to the future version, use ``pd.set_option("future.no_silent_downcasting", True)`` (:issue:`54261`) - Deprecated the :class:`.BaseGrouper` attributes ``group_keys_seq`` and ``reconstructed_codes``; these will be removed in a future version of pandas (:issue:`??`) -- Deprecated the :class:`.Grouping` attributes ``group_index``, ``result_index``, and ``group_arraylike``; these will be removed in a future version of pandas (:issue:`??`) +- Deprecated the :class:`.Grouping` attributes ``group_index``, ``result_index``, and ``group_arraylike``; these will be removed in a future version of pandas (:issue:`56148`) - .. --------------------------------------------------------------------------- diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py index 6be50fa181d28..5b17484de9c93 100644 --- a/pandas/tests/groupby/test_groupby.py +++ b/pandas/tests/groupby/test_groupby.py @@ -3307,7 +3307,7 @@ def test_groupby_ffill_with_duplicated_index(): @pytest.mark.parametrize("attr", ["group_keys_seq", "reconstructed_codes"]) def test_depr_grouper_attrs(attr): - # GH#?? + # GH#56148 df = DataFrame({"a": [1, 1, 2], "b": [3, 4, 5]}) gb = df.groupby("a") msg = f"{attr} is deprecated" diff --git a/pandas/tests/groupby/test_grouping.py b/pandas/tests/groupby/test_grouping.py index ba42782a20257..3c1a35c984031 100644 --- a/pandas/tests/groupby/test_grouping.py +++ b/pandas/tests/groupby/test_grouping.py @@ -1215,7 +1215,7 @@ def test_grouper_groups(): @pytest.mark.parametrize("attr", ["group_index", "result_index", "group_arraylike"]) def test_depr_grouping_attrs(attr): - # GH#?? + # GH#56148 df = DataFrame({"a": [1, 1, 2], "b": [3, 4, 5]}) gb = df.groupby("a") msg = f"{attr} is deprecated"