
Explanation:
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.What methods can you use to obtain summary statistics of a Spark DataFrame for comprehensive data analysis?
A
dbutils.data.summarize(spark_dataframe)
B
spark_dataframe.describe()
C
spark_dataframe.summary()
D
All of the above
No comments yet.