Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Which of the following code blocks retrieves the value of the column sqft from the first row of the DataFrame storesDF?
sqft
storesDF
A
storesDF.first()[col("sqft")]
B
storesDF[0]["sqft"]
C
storesDF.collect(l)[0]["sqft"]
D
storesDF.first.sqft
E
storesDF.first().sqft