Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Quiz: Extracting Columns | The Very First Steps
Pandas First Steps
course content

Course Content

Pandas First Steps

Pandas First Steps

1. The Very First Steps
2. Reading Files in Pandas
3. Analyzing the Data

book
Quiz: Extracting Columns

If we have a DataFrame called `products` with four columns: `'id'`, `'name'`, `'type'`, and `'price'`, how would we correctly extract the `'name'` and `'price'` columns?

If we have a DataFrame called products with four columns: 'id', 'name', 'type', and 'price', how would we correctly extract the 'name' and 'price' columns?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 12
We're sorry to hear that something went wrong. What happened?
some-alt