Backport PR #42633 on branch 1.3.x (Fixed regression for SettingWithCopyWarning showing incorrect stacklevel)
Backport PR #42633: Fixed regression for SettingWithCopyWarning showing incorrect stacklevel