wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Pandas

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the default kind of the graph ?

a)

Line

b)

Bar

c)

Pie

d)

Scatter

2.

Which of the following Python libraries provides support

for data munging?

a)

Scipy

b)

Pandas

c)

Numpy

d)

Matplotlib

3.

By default :

df.head()

df.tail()

returns how many entries of the df?

a)

10

b)

8

c)

6

d)

5

4.

Which is not a valid Pandas

writer function?

a)

to_text

b)

to_clipboard

c)

to_stata

d)

to_msgpack

5.

Which function in Pandas library allows to play with data and creates new variables?

a)

merge function

b)

apply function

c)

read_csv function

d)

pivot_table function

6.

Data structures in pandas can be muted in the terms of ________ but not of ________.

a)

Size, value

b)

Value, size

c)

Semantic, size

d)

None

7.

Are DataFrames container for Series?

a)

True

b)

False

8.

How to select a column in a pandas dataframe

a)

df('column')

b)

df.column

c)

df['column']

d)

both df.column and df['column']

9.

how to plot a scatterplot of a dataframe

a)

df.plot.scatter

b)

df.plot_scatter

c)

df.scatter

d)

df-scatter

10.

Select all the options which returns the count of each column

a)

df.count()

b)

df.describe().head(1)

c)

df.describe()['count']

d)

df.desc['count']