Challenge 2Challenge 2

question-icon

To correctly associate function names with their functionalities. We have a DataFrame named `cars` with four columns: `model`, `year`, `fueltype`, and `price`. This DataFrame contains 10 rows.


To extract the column, named 'fueltype' -
___

To extract the second row from DataFrame -
___

To extract columns named 'model', 'price' -
___

To extract the fifth row from DataFrame -
___

Click or drag`n`drop items and fill in the blanks

dots
cars['fueltype']
dots
cars.iloc[4]
dots
cars[['model', 'price']]
dots
cars.iloc[1]
down-icon

Everything was clear?

Section 2. Chapter 4