course content

Course Content

Pandas First Steps

Challenge 2Challenge 2
question-icon

You have a dataframe named `cars` with four columns: 'model', 'year', 'fueltype', and 'price'. This dataframe contains 10 rows. You have to match the correct name functions and what they perform.


To extract colum, 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.iloc[1]
dots
cars.iloc[4]
dots
cars[['model', 'price']]
dots
cars['fueltype']
down-icon

Section 2.

Chapter 4