Importing pandas didn\'t throw the error, but rather trying to read a picked pandas dataframe as such:
import numpy as np
import pandas as pd
import matplotl
I had this problem from trying to open a pickled dataframe made with pandas 0.18.1 using pandas 0.17.1. If you are using pip, upgrade pandas with:
pip install --upgrade pandas
If you are using a library like anaconda, use:
conda upgrade pandas
If you need to have both versions of pandas on your machine, consider using virtualenv