it's in core/common, add this to the top of the file:

from pandas.core.common import PandasError