Share via


DataFrame.Col(String) Method

Definition

Selects column based on the column name.

public Microsoft.Spark.Sql.Column Col (string colName);
member this.Col : string -> Microsoft.Spark.Sql.Column
Public Function Col (colName As String) As Column

Parameters

colName
String

Column name

Returns

Column object

Applies to