Last answered:

07 Nov 2023

Posted on:

28 Oct 2023

0

Error for reading the data

i got this error when reading the data , and the code i used before in the other lesson didn't work anymore , i had used this code for reading the first data PG = yf.download('PG') but now its not woking to read these data

1 answers ( 0 marked as helpful)
Instructor
Posted on:

07 Nov 2023

0

Hi Omnia!

Thanks for reaching out.

Please ensure to use "Reader" written with a capital letter in the module's name, like this:

... = wb.DataReader(...

Hope this helps.
Best,
Martin

Submit an answer