QUIZ Time Starts !

5 minutes

Thanks you have successfully attempted the quiz.


pandas quiz

Fill out the form to attempt test.

 

 

 

1 / 25

Question 1 of 25:

1: Which of the following is a core data structure in Pandas?

2 / 25

Question 2 of 25:

2: How do you read a CSV file into a Pandas DataFrame?

3 / 25

Question 3 of 25:

3: Which function is used to view the first 5 rows of a Pandas DataFrame?

4 / 25

Question 4 of 25:

4: How can you get the shape (rows, columns) of a DataFrame df in Pandas?

5 / 25

Question 5 of 25:

5: What does df.describe() return in Pandas?

6 / 25

Question 6 of 25:

6: How do you rename columns in a Pandas DataFrame?

7 / 25

Question 7 of 25:

7: What function is used to check for missing values in a DataFrame?

8 / 25

Question 8 of 25:

8: How can you drop a column in Pandas DataFrame df?

9 / 25

Question 9 of 25:

9: How can you filter rows in a DataFrame based on a condition?

10 / 25

Question 10 of 25:

10: What function is used to concatenate two DataFrames vertically in Pandas?

11 / 25

Question 11 of 25:

11 : How can you set a column as the index in a Pandas DataFrame?

12 / 25

Question 12 of 25:

12 : What method is used to group data in a Pandas DataFrame?

13 / 25

Question 13 of 25:

13 : Which of the following is the correct way to reset the index of a Pandas DataFrame df?

14 / 25

Question 14 of 25:

14 : What is the output of the following code: df['column_name'].unique()?

15 / 25

Question 15 of 25:

15 : Which of the following is used to combine two DataFrames based on common columns or indices?

16 / 25

Question 16 of 25:

16 : How do you select a specific column from a DataFrame df?

17 / 25

Question 17 of 25:

17 : What is the function to check the data types of all columns in a DataFrame?

18 / 25

Question 18 of 25:

18 : How can you sort a DataFrame by a specific column?

19 / 25

Question 19 of 25:

19 : What is the purpose of df.apply() in Pandas?

20 / 25

Question 20 of 25:

20 : Which of the following functions will give you the number of non-null values in each column?

21 / 25

Question 21 of 25:

21 : What is the function used to merge two DataFrames based on their index?

22 / 25

Question 22 of 25:

22 : How do you get the first row of a DataFrame df?

23 / 25

Question 23 of 25:

23 : Which of the following functions is used to create a new DataFrame by removing duplicate rows?

24 / 25

Question 24 of 25:

24 : How can you replace all occurrences of a value in a DataFrame?

25 / 25

Question 25 of 25:

25 : Which of the following is used to find the sum of all values in a particular column?

Your score is