Skip to content

Commit 6f2c509

Browse files
jorisvandenbosscheTomAugspurger
authored andcommitted
DEPR: fix missing stacklevel in pandas.core.index deprecation (#30878)
1 parent b7fcb54 commit 6f2c509

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/index.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@
2727
"pandas.core.index is deprecated and will be removed in a future version. "
2828
"The public classes are available in the top-level namespace.",
2929
FutureWarning,
30+
stacklevel=2,
3031
)

0 commit comments

Comments
 (0)