The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Error message from pandas_datareader?

Error message from pandas_datareader?

Super Learner
0
Votes
1
Answer
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 Answer

365 Team

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

Hi Martin and thanks for replying! I’m using Windows 10 and unfortunately, that command outputs “‘pip3’ is not recognized as an internal or external command, operable program or batch file.” I also tried “conda update pandas” and “pip install pandas-datareader” to no avail. It doesn’t present any issues so regardless I will continue with my work as recommended. Thank you again.

5 months

Hi Carl! Thank you for letting us know you can proceed with the course. Finally, you can try with pip install –upgrade pandas, but if this happens to be to no avail, please proceed with the course and potentially get back to this issue later, after you’ve completed a substantial part of the course.

5 months
×
LAST CHANCE
Ready to Learn Data Science?
50% OFF