Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Access the Columns | Reading Files in Pandas
Pandas First Steps

Access the ColumnsAccess the Columns

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

Everything was clear?

Section 2. Chapter 4
course content

Course Content

Pandas First Steps

Access the ColumnsAccess the Columns

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

Everything was clear?

Section 2. Chapter 4
some-alt