ImportError: cannot import name is_list_like

I keep getting this error everytime I run my program in Python:



         The root cause of this is; import pandas_datareader.data as web

  • I'm using Python 2.7 and Spyder 3.2.1
  • I've tried uninstalling and installing pandas and pandas-datareader
  • I've tried pasting the path into the kernel...possibly the wrong path
  • Any suggestion would be appreciated

Hi Ben,



Please set this: pd.core.common.is_list_like = pd.api.types.is_list_like before you import pandas_datareader. If you are still getting an error, it could mean that you are using the latest version of pandas. You can either fix it by installing an older version of pandas or visiting this link for another process: list like error

Thank you for your suggestion. I let you know if it works.

I’m getting there;

NotImplementedError: data_source=‘quandl’ is not implemented

The workaround for this is to fetch data from some other source and if you want to fetch the data from quandl then you can write following code # if quandl is not available then uncomment below line # !pip install quandl import quandl quandl.ApiConfig.api_key = <<Your_API_KEY>> data = quandl.get(“WIKI/AAPL”, start_date=“2008-01-01”, end_date=“2018-04-15” ) You can get free quandl API key and list of datasets from its website.