Last answered:

26 Apr 2020

Posted on:

26 Apr 2020

0

Error message from pandas_datareader?

C:\Users\NAME\Anaconda3\lib\site-packages\pandas_datareader\compat\__init__.py:7: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
  from pandas.util.testing import assert_frame_equal

I'm in the Python for Finance course. Even when this message occurs I am still able to continue with the code. Please advise.
1 answers ( 0 marked as helpful)
Instructor
Posted on:

26 Apr 2020

1
Hi Carl! Thanks for reaching out. This is not an error message; this is just a warning message, telling you that you can expect some discrepancy in your future work unless you update your module at some point. Moreover, this message won't affect our work, therefore you can feel free to proceed with the course while getting this error message. Should you wish to stop getting this error message after executing such code, you may try updating your pandas module, which is related to the pandas-datareader module, and retry. Here's a command that can help you upgrade the pandas package, if you run it in Anaconda Prompt or Terminal, depending on whether you are a PC or Mac user.
pip3 install --upgrade pandas
Hope this helps.
Best,
Martin

Submit an answer