Functions.Mean 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.
Overloads
Mean(Column) |
Returns the average value of the column in a group. |
Mean(String) |
Returns the average value of the column in a group. |
Mean(Column)
Returns the average value of the column in a group.
public static Microsoft.Spark.Sql.Column Mean(Microsoft.Spark.Sql.Column column);
static member Mean : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Mean (column As Column) As Column
Parameters
- column
- Column
Column to apply
Returns
Column object
Applies to
Mean(String)
Returns the average value of the column in a group.
public static Microsoft.Spark.Sql.Column Mean(string columnName);
static member Mean : string -> Microsoft.Spark.Sql.Column
Public Shared Function Mean (columnName As String) As Column
Parameters
- columnName
- String
Column name
Returns
Column object