QuestionQ39

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

Which of the following operations produces a GroupedData object?

Explanation

DataFrame.groupBy() groups a DataFrame by specified columns and returns a GroupedData object, which provides aggregation operations such as agg, count, and sum.

Learn more

Community Discussion

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