https://github.com/pandas-dev/pandas/pull/45544#pullrequestreview-1198614076 Once we've tried out those suggestions, I think it'd be good to re-open that PR so that we're using publicly documented methods here.