
Ultimate access to all questions.
Which of the following code blocks returns a new DataFrame from DataFrame storesDF where column modality contains the constant string "PHYSICAL"? Assume storesDF is the only predefined variable.
A
storesDF.withColumn("modality", lit(PHYSICAL))
B
storesDF.withColumn("modality", col("PHYSICAL"))
C
storesDF.withColumn("modality", lit("PHYSICAL"))
D
storesDF.withColumn("modality", StringType("PHYSICAL"))
E
storesDF.withColumn("modality", "PHYSICAL")