This is a bug and is currently fixed. If you upgrade Pandas through pip install --upgrade pandas, this issue will be solved.
pip install --upgrade pandas