<< Prev Question Next Question >>

Question 51/64

The code block shown below should add column transactionDateForm to DataFrame transactionsDf. The column should express the unix-format timestamps in column transactionDate as string type like Apr 26 (Sunday). Choose the answer that correctly fills the blanks in the code block to accomplish this.
transactionsDf.__1__(__2__, from_unixtime(__3__, __4__))

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (64q)
Question 1: Which of the following code blocks writes DataFrame itemsDf ...
Question 2: Which of the following statements about Spark's execution hi...
Question 3: In which order should the code blocks shown below be run in ...
Question 4: The code block displayed below contains an error. The code b...
Question 5: The code block displayed below contains an error. The code b...
Question 6: Which of the following describes Spark's way of managing mem...
Question 7: Which of the following code blocks returns a 2-column DataFr...
Question 8: Which of the following code blocks returns a new DataFrame w...
Question 9: The code block displayed below contains an error. The code b...
Question 10: Which of the following code blocks returns a new DataFrame i...
Question 11: Which of the following code blocks removes all rows in the 6...
Question 12: Which of the following code blocks shows the structure of a ...
Question 13: Which is the highest level in Spark's execution hierarchy?...
Question 14: The code block displayed below contains an error. The code b...
Question 15: Which of the following code blocks reads in the JSON file st...
Question 16: The code block displayed below contains an error. The code b...
Question 17: Which of the following code blocks returns a one-column Data...
Question 18: The code block shown below should return a DataFrame with al...
Question 19: Which of the following describes tasks?...
Question 20: Which of the following describes properties of a shuffle?...
Question 21: Which of the following code blocks produces the following ou...
Question 22: Which of the following is one of the big performance advanta...
Question 23: Which of the following code blocks returns a copy of DataFra...
Question 24: The code block displayed below contains at least one error. ...
Question 25: Which of the following code blocks reduces a DataFrame from ...
Question 26: Which of the following code blocks applies the boolean-retur...
Question 27: Which of the following statements about broadcast variables ...
Question 28: Which of the following code blocks creates a new DataFrame w...
Question 29: Which of the following code blocks returns DataFrame transac...
Question 30: Which of the following code blocks prints out in how many ro...
Question 31: The code block displayed below contains an error. The code b...
Question 32: Which of the following statements about Spark's configuratio...
Question 33: Which of the following describes slots?...
Question 34: Which of the following code blocks reads in parquet file /Fi...
Question 35: Which of the following code blocks silently writes DataFrame...
Question 36: The code block displayed below contains multiple errors. The...
Question 37: The code block shown below should return all rows of DataFra...
Question 38: In which order should the code blocks shown below be run in ...
Question 39: Which of the following statements about Spark's DataFrames i...
Question 40: Which of the following code blocks returns a DataFrame with ...
Question 41: Which of the following code blocks returns a DataFrame that ...
Question 42: The code block shown below should set the number of partitio...
Question 43: The code block shown below should return a two-column DataFr...
Question 44: Which of the following statements about stages is correct?...
Question 45: Which of the following DataFrame operators is never classifi...
Question 46: Which of the following code blocks concatenates rows of Data...
Question 47: The code block shown below should return a single-column Dat...
Question 48: Which of the following is not a feature of Adaptive Query Ex...
Question 49: The code block displayed below contains an error. The code b...
Question 50: Which of the following code blocks reads in the JSON file st...
Question 51: The code block shown below should add column transactionDate...
Question 52: The code block displayed below contains an error. The code b...
Question 53: Which of the following is a problem with using accumulators?...
Question 54: Which of the following describes a narrow transformation?...
Question 55: The code block displayed below contains one or more errors. ...
Question 56: The code block displayed below contains an error. The code b...
Question 57: Which of the following describes the role of tasks in the Sp...
Question 58: Which of the following code blocks displays the 10 rows with...
Question 59: Which of the following code blocks returns a copy of DataFra...
Question 60: The code block shown below should return only the average pr...
Question 61: Which of the following code blocks returns a DataFrame showi...
Question 62: Which of the following code blocks returns a single row from...
Question 63: The code block shown below should convert up to 5 rows in Da...
Question 64: Which of the elements that are labeled with a circle and a n...