4.4.4.Graded Quiz: Pandas - sj50179/IBM-Data-Science-Professional-Certificate GitHub Wiki
LATEST SUBMISSION GRADE 100%
Question 1
What is the result of applying the following method df.head(), to the dataframe df ?
- prints the first 100 row of the dataframe
- prints the first column of the dataframe
- prints the first 5 rows of the dataframe
correct
Question 2
Consider the dataframe df. How would you access the element in the 2nd row and 1st column?
- df.iloc[1,0]
- df.iloc[2,1]
- df.iloc[0,1]
Correct
Question 3
In the lab, you learned you can also obtain a series from a dataframe df, select the correct way to assign the column with the header Length to a pandas series to the variable x.
Correct