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.
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.
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.
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.