
Ultimate access to all questions.
Given a Spark DataFrame 'df' with a numerical column 'sales', write a code snippet that computes the summary statistics for the 'sales' column using the .summary() method and explain the output.
A
df.sales.summary() print(A)
B
df.select('sales').summary() print(B)
C
df['sales'].summary() print(C)
D
df['sales'].describe() print(D)