Share via


DataFrame.Summary(String[]) Method

Definition

Computes specified statistics for numeric and string columns.

public Microsoft.Spark.Sql.DataFrame Summary (params string[] statistics);
member this.Summary : string[] -> Microsoft.Spark.Sql.DataFrame
Public Function Summary (ParamArray statistics As String()) As DataFrame

Parameters

statistics
String[]

Statistics to compute

Returns

DataFrame object

Remarks

Available statistics are: - count - mean - stddev - min - max - arbitrary approximate percentiles specified as a percentage(e.g., 75%)

If no statistics are given, this function computes count, mean, stddev, min, approximate quartiles(percentiles at 25%, 50%, and 75%), and max.

Applies to