Last answered:

16 Dec 2021

Posted on:

22 Nov 2021


AN error is occuring when we try to do wb.DataReader('PG' , data_source='yahoo', start='1995-1-1')

 Unable to read URL:

this is the error which is being displayed .. kindly show us how to rectify it

1 answers ( 0 marked as helpful)
Posted on:

16 Dec 2021


Hi Shivam!
Thanks for reaching out!

We discovered that the problem can be fixed by upgrading pandas. Therefore, please open Anaconda Prompt or Terminal and execute:
pip install --upgrade pandas
pip install --upgrade pandas-datareader
Hope this helps.

Submit an answer