From 8b25ba677899c9e7f3bcc657769a93c075c0c76a Mon Sep 17 00:00:00 2001 From: Marco Edward Gorelli Date: Thu, 7 Mar 2024 12:51:10 +0000 Subject: [PATCH] Backport PR #57759: DOC: add whatsnew for v2.2.2 --- doc/source/whatsnew/index.rst | 1 + doc/source/whatsnew/v2.2.2.rst | 36 ++++++++++++++++++++++++++++++++++ pandas/core/groupby/generic.py | 2 -- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 doc/source/whatsnew/v2.2.2.rst diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 3a2ab4c17d1bd4..34a2845290d5a5 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 2.2 .. toctree:: :maxdepth: 2 + v2.2.2 v2.2.1 v2.2.0 diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst new file mode 100644 index 00000000000000..058f7aebcd5388 --- /dev/null +++ b/doc/source/whatsnew/v2.2.2.rst @@ -0,0 +1,36 @@ +.. _whatsnew_222: + +What's new in 2.2.2 (April XX, 2024) +--------------------------------------- + +These are the changes in pandas 2.2.2. See :ref:`release` for a full changelog +including other versions of pandas. + +{{ header }} + +.. --------------------------------------------------------------------------- +.. _whatsnew_222.regressions: + +Fixed regressions +~~~~~~~~~~~~~~~~~ +- + +.. --------------------------------------------------------------------------- +.. _whatsnew_222.bug_fixes: + +Bug fixes +~~~~~~~~~ +- + +.. --------------------------------------------------------------------------- +.. _whatsnew_222.other: + +Other +~~~~~ +- + +.. --------------------------------------------------------------------------- +.. _whatsnew_222.contributors: + +Contributors +~~~~~~~~~~~~ diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index f2e314046fb749..dec53b14aeea10 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -20,7 +20,6 @@ Union, cast, ) -import warnings import numpy as np @@ -35,7 +34,6 @@ Substitution, doc, ) -from pandas.util._exceptions import find_stack_level from pandas.core.dtypes.common import ( ensure_int64,