DataFrame.Describe(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes basic statistics for numeric and string columns, including count, mean, stddev, min, and max. If no columns are given, this function computes statistics for all numerical or string columns.
public Microsoft.Spark.Sql.DataFrame Describe (params string[] cols);
member this.Describe : string[] -> Microsoft.Spark.Sql.DataFrame
Public Function Describe (ParamArray cols As String()) As DataFrame
Parameters
- cols
- String[]
Column names
Returns
DataFrame object
Remarks
This function is meant for exploratory data analysis, as we make no guarantee about the backward compatibility of the schema of the resulting DataFrame. If you want to programmatically compute summary statistics, use the `agg` function instead.