wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Pandas

Total questions: 5

Worksheet time: 6mins

Name
Class
Date
1.

Which of the following can be used to make a Dataframe?

a)

Series

b)

DataFrame

c)

Structured ndarray

d)

All of the above

2.

All pandas data structures are ___ mutable but not always _______mutable.

a)

size, value

b)

semantic, size

c)

value, size

d)

none of the mentioned

3.

Which of the following object you get after reading CSV file?

a)

DataFrame

b)

Character Vector

c)

Panel

d)

All of the mentioned

4.

Pandas deals with following data structures

a)

Series

b)

Series and Data Frames

c)

Series, DataFrames and Panel

d)

None of Above

5.

What will be output for the following code?

import pandas as pd

s = pd.Series([1,2,3,4,5],index = ['a','b','c','d','e'])

print(s['a'])

a)

1

b)

2

c)

3

d)

4

e)

5