Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Which of the following code blocks does not correctly return a DataFrame sorted in alphabetical order by the division column?
division
A
storesDF.sort(asc("division"))
B
storesDF.orderBy(["division"], ascending = [1])
C
storesDF.orderBy(col("division").desc())
D
storesDF.orderBy("division")
E
storesDF.sort("division")