According to the OP, version 0.24.2 or later is necessary to avoid this issue. So updating Pandas, through pip install --upgrade pandas or similar will solve this.
pip install --upgrade pandas