https://github.com/pandas-dev/pandas/pull/41159#discussion_r621602882 the PR got merged before the problem was addressed