Font size
WorksheetsPractice: Data exploration in Pandas
Total questions: 28
Worksheet time: 31mins
Put in correct order
(a) (b) (c) (d)
Put in correct order
(a) (b) (c)
How can you display first 5 rows of the data?
.head(5)
.first(5)
.head()
.show(5)
How can you see information of the data?
.info()
.(info)
.information()
.data()
Which one will show the smallest value?
.max()
.smallest()
.min()
.mean()
Which one will show the average value?
.max()
.average()
.min()
.mean()
" "
(a)
()
(a)
[ ]
(a)
=
(a)
Which one will show percentage %?
.value_counts(normalize=True)
.value_counts()
.value_counts(normalize=true)
.value_counts(%)
See the most expensive house:
houses["price"] (a)
See the cheapest house:
houses["price"] (a)
See the oldest house:
houses["year_built"] (a)
See the newest house:
houses["year_built"] (a)
See the average size of house:
houses["area_m2"] (a)
See the number of houses with an elevator:
houses["area_m2"] (a)
See the percentage of houses near the metro:
houses["area_m2"] (a)
Identify parts of the table
How many columns do we have?
(a)
How many rows (houses) do we have?
(a)
I want to know the size of our houses. Which column should I check?
(a)
I want to know where the houses are. Which column should I check?
(a)
I want to know if an apartment is in a tall building. Which column should I check?
(a)
What kind of data is 数值型数据
(a)
What kind of data is 分类数据
(a)
What kind of data is 连续型数据
(a)
What kind of data is 离散型数据
(a)
