https://github.com/pandas-dev/pandas/blob/master/pandas/compat/__init__.py#L376 I think this was leftover from 2.6 compat.