Skip to content

Commit eb7d049

Browse files
meeseeksmachinejorisvandenbossche
authored andcommitted
Backport PR #30878: DEPR: fix missing stacklevel in pandas.core.index deprecation (#30883)
Co-authored-by: Joris Van den Bossche <[email protected]>
1 parent d3f0856 commit eb7d049

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)