Quiz on Pandas
FREE Online Courses: Your Passport to Excellence - Start Now
Time limit: 0
Quiz Summary
0 of 15 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Quiz complete. Results are being recorded.
Results
0 of 15 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 15
1. Question
- Which of the following feature is not provided by the Pandas module?
CorrectIncorrect -
Question 2 of 15
2. Question
- From which of the following files, pandas can read data?
CorrectIncorrect -
Question 3 of 15
3. Question
- Given a dataset named ‘data’ containing the 5 columns and 10 rows, find the output of the below code?
-
print(len(data.columns))
CorrectIncorrect -
Question 4 of 15
4. Question
- Which of the following commands return the data type of the values in each column in the data frame df?
CorrectIncorrect -
Question 5 of 15
5. Question
- What does the attribute shape return?
CorrectIncorrect -
Question 6 of 15
6. Question
- By default, number of rows are returned by the head() and tail() function?
CorrectIncorrect -
Question 7 of 15
7. Question
- Which of the following can be stored in a dataframe?
CorrectIncorrect -
Question 8 of 15
8. Question
- Which of the following is the correct way to create a data frame?
CorrectIncorrect -
Question 9 of 15
9. Question
- What is the output of the following code?
-
print(df.iloc[2:5])
CorrectIncorrect -
Question 10 of 15
10. Question
- Which of the following changes the data type of a column named clmn in data frame dfto string datatype?
CorrectIncorrect -
Question 11 of 15
11. Question
- What is the output of the below code?
-
df.loc[df.clmn==10,:]
CorrectIncorrect -
Question 12 of 15
12. Question
- Which of the following commands remove missing values?
CorrectIncorrect -
Question 13 of 15
13. Question
- What does the below code do?
df.clmn.value_counts()
CorrectIncorrect -
Question 14 of 15
14. Question
- Which of the following is/are used to get the columns named ‘clmn1’ and ‘clmn3’ from the data frame df?
CorrectIncorrect -
Question 15 of 15
15. Question
Which of the returns he statistical data about the numerical columns in the data frame df?
CorrectIncorrect