Snowflake SnowPro Advanced: Data Scientist Certification Exam DSA-C02 Question # 18 Topic 2 Discussion

Snowflake SnowPro Advanced: Data Scientist Certification Exam DSA-C02 Question # 18 Topic 2 Discussion

DSA-C02 Exam Topic 2 Question 18 Discussion:
Question #: 18
Topic #: 2

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?


A.

Returns the row name r3


B.

Results in Error


C.

Returns the third column


D.

Filters the row labelled r3


Get Premium DSA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.