DEPR: Change stacklevel to 2 in DataFrame(mgr) deprecation
For reference: #55591
@jorisvandenbossche is this the only thing I'm supposed to change? or am I supposed to also change all stacklevel=2 to stacklevel=find_stack_level()
is this the only thing I'm supposed to change? or am I supposed to also change all
stacklevel=2tostacklevel=find_stack_level()
This should be sufficient, and we explicitly want to keep it hard-coded at 2 and not use find_stack_level() for this case.
And thanks for the PR! If you merge in latest main, that should fix some of the CI failures.
And thanks for the PR! If you merge in latest main, that should fix some of the CI failures.
My pleasure - green now.
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.
Thanks @Aloqeely!