From abc70b6f06294748ca8def32d5bebc01301c9af0 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 10 Jan 2020 08:50:19 +0100 Subject: [PATCH] DEPR: fix missing stacklevel in pandas.core.index deprecation --- pandas/core/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/core/index.py b/pandas/core/index.py index a9c8e6731a17e..8cff53d7a8b74 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -27,4 +27,5 @@ "pandas.core.index is deprecated and will be removed in a future version. " "The public classes are available in the top-level namespace.", FutureWarning, + stacklevel=2, )