From 02ec7b224f7c2d671bd04d964dd6eb93e30190e1 Mon Sep 17 00:00:00 2001 From: Abdulaziz Aloqeely <52792999+Aloqeely@users.noreply.github.com> Date: Thu, 6 Jun 2024 07:31:54 +0300 Subject: [PATCH] Add Pandas50DeprecationWarning for deprecations planned for 5.0 --- pandas/util/_exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/util/_exceptions.py b/pandas/util/_exceptions.py index 89361e63cb2eb..6f3cda76f7fd2 100644 --- a/pandas/util/_exceptions.py +++ b/pandas/util/_exceptions.py @@ -12,6 +12,7 @@ from types import FrameType Pandas40DeprecationWarning = DeprecationWarning +Pandas50DeprecationWarning = DeprecationWarning @contextlib.contextmanager