Quiz No. 1 (Pandas Basics)

quiz-1 pandas basics

Login before you attempt the quiz

Here is the quiz:

0%
0 votes, 0 avg
2440

This quiz should be completed under 800 Seconds.

Let's see your progress


python

Did you master Pandas library in Python?

This quiz is to check your expertise in Pandas, a python library.

The number of attempts remaining is 5

1 / 30

1. Which method is used to calculate the correlation matrix of a DataFrame?

2 / 30

2. How would you filter df to only show rows where the value in 'age' is greater than 25?

3 / 30

3. In the Titanic dataset how would you find the number of passengers who survived?

4 / 30

4. Which function is used to check for missing values in a DataFrame?

5 / 30

5. What function is used to read a CSV file in Pandas?

6 / 30

6. How can you get the first 3 rows of a DataFrame df?

7 / 30

7. Which method is used to merge two DataFrames in Pandas?

8 / 30

8. Which method is used to calculate summary statistics of a DataFrame?

9 / 30

9. Which Pandas method would you use to stack a DataFrame?

10 / 30

10. In the Titanic dataset how would you filter out rows where 'Age' is under 18?

11 / 30

11. What is the primary data structure in Pandas used for handling tabular data?

12 / 30

12. Which method in Pandas is used to combine data on common columns or indices?

13 / 30

13. How can you set the index of a DataFrame df to be the column named 'date'?

14 / 30

14. Which method would you use to sort a DataFrame df based on the values of column 'age'?

15 / 30

15. Which method can be used to drop duplicate rows in a DataFrame?

16 / 30

16. In the Titanic dataset how would you find the average age of passengers?

17 / 30

17. Which method would you use to execute a SQL query in Pandas?

18 / 30

18. How can you change the data type of a column in a DataFrame?

19 / 30

19. How would you apply a function to every element in a DataFrame?

20 / 30

20. How can you reshape data using the melt function in Pandas?

21 / 30

21. What function is used to read a CSV file in Pandas?

22 / 30

22. How would you create a DataFrame from a dictionary?

23 / 30

23. What is the primary data structure in Pandas used for handling tabular data?

24 / 30

24. Which method can be used to group a DataFrame using a specific column?

25 / 30

25. Which function will replace values given in `to_replace` with `value` in a DataFrame?

26 / 30

26. How can you convert a Pandas DataFrame to a NumPy array?

27 / 30

27. How would you reset the index of a DataFrame df?

28 / 30

28. How would you access the third row of a DataFrame named df?

29 / 30

29. Which method is used to pivot a DataFrame?

30 / 30

30. How can you handle outliers in a DataFrame?

Websites must try

Powerful Websites

Advancements in website tools 💻 in the digital age provide invaluable resources. From e-commerce giants and social media

Read More »

38 Comments.

  1. First quiz me mery percentage 76.67% ha. Likin aj Waly quiz ko attampt ni kr Saka q k mujy se attampt kr NY sepahly he click hu ga complete mark pr .

    Kindly refrish kr de aj Waly quiz ko

  2. Quiz is good and you did a good thing by locking the quiz so that no body can use it to search the answer on google or llm.

  3. questions are little bit confusing and not clear. Q may be re-evaluate after generated. This is good practice to learn pandas and also include interview Q. It is great effort by Codanics team. Thank u

  4. i have a knowlegde this much how i have listen your lecture
    bcoz, im non IT student.im from b.com
    and Thank u so much i have learned this much with youre lecture
    i can learn more a part from this i future

Leave a Reply

Your email address will not be published. Required fields are marked *