QuestionQ78

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

Which of the following code blocks returns the first three rows of the DataFrame storesDF?

Explanation

PySpark DataFrame.head(3) retrieves the first three rows of a DataFrame.

Community Discussion

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