 REF: use _get_axis_number instead of if axis in [...]: #43112
#43112 pull request is not re-opening as the pandas repository which I previously forked was deleted, so I created a new pull request pls check it.