Exam DSA-C02 Topic 1 Question 49 Discussion
Actual exam question for Snowflake's DSA-C02 exam
Question #: 49
Topic #: 1
Question #: 49
Topic #: 1
Consider a data frame df with columns ['A', 'B', 'C', 'D'] and rows ['r1', 'r2', 'r3']. What does the ex-pression df[lambda x : x.index.str.endswith('3')] do?
Suggested Answer: D Vote an answer
Explanation
It will Filters the row labelled r3.
It will Filters the row labelled r3.
by Emily at Aug 18, 2025, 12:49 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).