DataFrame Quiz 1

Share with others

Welcome to your DataFrame Quiz 1

Name
Email
School Name
Q1. In Pandas __________ is used to store data in multiple columns.

Q2. A ___________ is a two-dimensional labelled data structure .

Q3. _____________ has both a row and column index.

Q4. Which library is to be imported for creating DataFrame?

Q5. Which of the following function is used to create DataFrame?

Q6. The following code create a dataframe named 'D1' with _______ columns.

import pandas as pd
D1 = pd.DataFrame([1,2,3] )

Q7. We can create DataFrame from _________________

Q8. Which of the following is used to give user defined column index in DataFrame?

Q9. The following code create a dataframe named 'D1' with _______ columns.

import pandas as pd
LoD = [{'a':10, 'b':20}, {'a':5, 'b':10, 'c':20}]
D1 = pd.DataFrame(LoD)

Q10. The following code create a dataframe named 'D1' with _______ rows.

import pandas as pd
LoD = [{'a':10, 'b':20}, {'a':5, 'b':10, 'c':20}]
D1 = pd.DataFrame(LoD)


Share with others

1 thought on “DataFrame Quiz 1”

Leave a Reply

error: Content is protected !!