Exam DSA-C02 Topic 1 Question 49 Discussion

Actual exam question for Snowflake's DSA-C02 exam
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.

by Emily at Aug 18, 2025, 12:49 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10