Skip to content

Commit 6963374

Browse files
committed
Updated stack level for try_cast deprecate warning
1 parent 06dcad6 commit 6963374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9252,7 +9252,7 @@ def mask(
92529252
"try_cast keyword is deprecated and will be removed in a "
92539253
"future version",
92549254
FutureWarning,
9255-
stacklevel=2,
9255+
stacklevel=3,
92569256
)
92579257

92589258
# see gh-21891

0 commit comments

Comments
 (0)