Skip to content

Commit 2ead198

Browse files
authored
DEPR: Change stacklevel to 2 in DataFrame(mgr) deprecation (#58694)
1 parent d8905e4 commit 2ead198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def __init__(
718718
"is deprecated and will raise in a future version. "
719719
"Use public APIs instead.",
720720
DeprecationWarning,
721-
stacklevel=1, # bump to 2 once pyarrow 15.0 is released with fix
721+
stacklevel=2,
722722
)
723723

724724
data = data.copy(deep=False)

0 commit comments

Comments
 (0)