Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam DEA-C01 Topic 4 Question 48 Discussion

Actual exam question for Snowflake's DEA-C01 exam
Question #: 48
Topic #: 4
[All DEA-C01 Questions]

Which methods will trigger an action that will evaluate a DataFrame? (Select TWO)

Show Suggested Answer Hide Answer
Suggested Answer: B, E

The methods that will trigger an action that will evaluate a DataFrame are DataFrame.collect() and DataFrame.show(). These methods will force the execution of any pending transformations on the DataFrame and return or display the results. The other options are not methods that will evaluate a DataFrame. Option A, DataFrame.random_split(), is a method that will split a DataFrame into two or more DataFrames based on random weights. Option C, DataFrame.select(), is a method that will project a set of expressions on a DataFrame and return a new DataFrame. Option D, DataFrame.col(), is a method that will return a Column object based on a column name in a DataFrame.


Contribute your Thoughts:

Tarra
1 days ago
I think options C) and E) will trigger an action to evaluate a DataFrame.
upvoted 0 times
...

Save Cancel