QuestionQ86

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

Which of the following operations can be used to return every row in a DataFrame?

Explanation

DataFrame.collect() returns all records in the DataFrame as a list of Row objects.

Learn more

Community Discussion

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