QuestionQ190

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

Which of the following operations may be used to sort a DataFrame’s rows?

Explanation

PySpark DataFrame supports sort() to order rows, and orderBy() is an alias for the same operation. The lowercase orderby() is not the valid API method name.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!