
Answer-first summary for fast verification
Answer: All of the above
The correct answer is 'All of the above'. The following are options for obtaining summary statistics on a Spark DataFrame: - `describe()`: Provides count, mean, standard deviation, minimum, and maximum values. - `summary()`: Incorporates all the features of `describe()` with the addition of interquartile range (IQR) values. - `dbutils.data.summarize`: Calculates and displays summary statistics of an Apache Spark DataFrame or pandas DataFrame. This command is available for Python, Scala, and R.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.