ExamVeda
Login
Home
31
In dplyr, what is the purpose of the distinct() function when used with multiple columns?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
32
How do you create a new column total_price in dplyr that is the sum of two existing columns price1 and price2?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
33
What is the purpose of the filter() function in dplyr?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
34
How do you select columns from a dplyr data frame where the column names start with the letter 'a'?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
35
In dplyr, how do you calculate the sum and mean of a numeric variable named quantity for each group?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
36
What is the role of the left_join() function in dplyr?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
37
In dplyr, how do you filter rows where a specific variable is within a range using filter()?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
38
How do you count the number of distinct values in a column named category in dplyr?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
39
In dplyr, how do you filter rows based on multiple conditions using the AND logic?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
40
What does the desc() function do in dplyr?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board