Question: 1 2 What does the following code do ? Select ALL correct answers. ` ` ` import pandas as pd import pandas _ datareader.data as

12 What does the following code do? Select ALL correct answers.
```
import pandas as pd
import pandas_datareader.data as pdr
AMZN = pdr.DataReader('AMZN', 'yahoo', '2010-01-01','2020-12-31')
AMZN.describe()
```
It creates a pandas dataframe called AMZN.
It extracts the stock prices of Amazon from Yahoo Finance.
It extracts the stock data from the beginning of 2010 to the end of 2020.
The result will show the first few rows of all the columns in the dataframe.
1 2 What does the following code do ? Select ALL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!