Skip to content

Commit

Permalink
Backport PR #30878: DEPR: fix missing stacklevel in pandas.core.index…
Browse files Browse the repository at this point in the history
… deprecation (#30883)

Co-authored-by: Joris Van den Bossche <[email protected]>
  • Loading branch information
2 people authored and gfyoung committed Jan 10, 2020
1 parent d3f0856 commit eb7d049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/core/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit eb7d049

Please sign in to comment.