revert this https://github.com/pandas-dev/pandas/pull/18325 when #18141 is a bit more stable