Fixed import error on PandasError - it was within