Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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:

Wava
4 days ago
B and E, for sure. Collecting the DataFrame and displaying it are obvious choices.
upvoted 0 times
...
Aaron
7 days ago
I agree with Tarra, selecting and showing the DataFrame will trigger the evaluation.
upvoted 0 times
...
Alise
8 days ago
I think A and E are the correct answers. Splitting the DataFrame and showing the results would definitely trigger an evaluation.
upvoted 0 times
...
Tarra
11 days ago
I think options C) and E) will trigger an action to evaluate a DataFrame.
upvoted 0 times
...

Save Cancel