
Explanation:
The question asks for sets of DataFrame methods that both return a new DataFrame containing only rows meeting a specified logical condition. Here's the analysis:
Thus, the only correct set is C (filter(), where()), as both methods perform row filtering.
Ultimate access to all questions.
Which of the following combinations of DataFrame operations will return a new DataFrame containing only rows that satisfy a given logical condition?
A
drop(), where()
B
filter(), select()
C
filter(), where()
D
select(), where()
E
filter(), drop()
No comments yet.