DataFrame.Select 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
Select(Column[]) |
Selects a set of column based expressions. |
Select(String, String[]) |
Selects a set of columns. This is a variant of Select() that can only select existing columns using column names (i.e. cannot construct expressions). |
Select(Column[])
Selects a set of column based expressions.
public Microsoft.Spark.Sql.DataFrame Select (params Microsoft.Spark.Sql.Column[] columns);
member this.Select : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.DataFrame
Public Function Select (ParamArray columns As Column()) As DataFrame
Parameters
- columns
- Column[]
Column expressions
Returns
DataFrame object
Applies to
Select(String, String[])
Selects a set of columns. This is a variant of Select() that can only select existing columns using column names (i.e. cannot construct expressions).
public Microsoft.Spark.Sql.DataFrame Select (string column, params string[] columns);
member this.Select : string * string[] -> Microsoft.Spark.Sql.DataFrame
Public Function Select (column As String, ParamArray columns As String()) As DataFrame
Parameters
- column
- String
Column name
- columns
- String[]
Additional column names
Returns
DataFrame object