This can be solved by upgrading to the latest version of Pandas, through pip install --upgrade pandas.
pip install --upgrade pandas