Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge | Explore Dataset
Introduction to Python for Data Analysis

book
Challenge

question-icon

Fill in the missing gaps to find the minimum of the 'price' column and then show the first 10 rows of the file.

import
___
as pd
df = pd.
___
('file.csv')
print(df['price']
___
)
print(
___
)
5
user_id plan price trial
938 month 25 False
769 year 65 True
892 week 5 True
1521 week 5 True
155 week 5 True
229 year 65 True
1843 week 5 True
386 week 5 True
972 week 5 True
1394 week 5 True

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

dots
.mean()
dots
pandas
dots
.min()
dots
read_csv
dots
df.head(10)
dots
df.show(10)
dots
read_file
dots
library
dots
df.show()

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 6

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt