Last answered:

02 Dec 2021

Posted on:

02 Dec 2021

0

Using and installing the pandas-datareader package.

How to use and install the pandas-datareder package

1 answers ( 0 marked as helpful)
Posted on:

02 Dec 2021

0

Windows users:

Step #1) Execute pip install pandas-datareader in the Anaconda prompt (be aware that pandas-datareader is spelled with a hyphen).

Step #2) Then, import it in a Jupyter document (i.e. an *.ipynb file) by executing from pandas_datareader import data as wb (be aware that this time the two words are separated by an underscore pandas_datareader ).

Mac users:

Apply the same instructions as Windows users. However, remember you should use Terminal instead of Anaconda Prompt for Step #1. Step #2 is the same.

Occasionally, students who use Mac encounter an issue at Step #1 because they have not installed pip beforehand. To see how to do that, please check the question about installing pip on Mac.

Submit an answer