#### Problem description xref: #24782 See the comment in https://github.com/pandas-dev/pandas/pull/24819