5 minutes
Thanks you have successfully attempted the quiz.
pandas quiz
Fill out the form to attempt test.
1 / 25
1: Which of the following is a core data structure in Pandas?
2 / 25
2: How do you read a CSV file into a Pandas DataFrame?
3 / 25
3: Which function is used to view the first 5 rows of a Pandas DataFrame?
4 / 25
4: How can you get the shape (rows, columns) of a DataFrame df in Pandas?
df
5 / 25
5: What does df.describe() return in Pandas?
df.describe()
6 / 25
6: How do you rename columns in a Pandas DataFrame?
7 / 25
7: What function is used to check for missing values in a DataFrame?
8 / 25
8: How can you drop a column in Pandas DataFrame df?
9 / 25
9: How can you filter rows in a DataFrame based on a condition?
10 / 25
10: What function is used to concatenate two DataFrames vertically in Pandas?
11 / 25
11 : How can you set a column as the index in a Pandas DataFrame?
12 / 25
12 : What method is used to group data in a Pandas DataFrame?
13 / 25
13 : Which of the following is the correct way to reset the index of a Pandas DataFrame df?
14 / 25
14 : What is the output of the following code: df['column_name'].unique()?
df['column_name'].unique()
15 / 25
15 : Which of the following is used to combine two DataFrames based on common columns or indices?
16 / 25
16 : How do you select a specific column from a DataFrame df?
17 / 25
17 : What is the function to check the data types of all columns in a DataFrame?
18 / 25
18 : How can you sort a DataFrame by a specific column?
19 / 25
19 : What is the purpose of df.apply() in Pandas?
df.apply()
20 / 25
20 : Which of the following functions will give you the number of non-null values in each column?
21 / 25
21 : What is the function used to merge two DataFrames based on their index?
22 / 25
22 : How do you get the first row of a DataFrame df?
23 / 25
23 : Which of the following functions is used to create a new DataFrame by removing duplicate rows?
24 / 25
24 : How can you replace all occurrences of a value in a DataFrame?
25 / 25
25 : Which of the following is used to find the sum of all values in a particular column?
Your score is
Welcome to DADS Course
Email : info@techpratham.com
Phone (India) : +91-8882178896
WhatsApp : +91-8384036614