QuestionQ89

VerifiedUsing Spark SQL

Which of the following code blocks returns a collection of summary statistics for every column in DataFrame storesDF?

Explanation

DataFrame.describe() returns basic summary statistics—count, mean, standard deviation, minimum, and maximum—for the DataFrame’s numeric and string columns when called without column arguments. PySpark DataFrame.describe documentation

Learn more

Community Discussion

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