Skip to content

Commit f732b97

Browse files
jorisvandenbosschemeeseeksmachine
authored andcommitted
Backport PR pandas-dev#30878: DEPR: fix missing stacklevel in pandas.core.index deprecation
1 parent d3f0856 commit f732b97

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)