nxcals.api.common.utils.array_utils.col
- nxcals.api.common.utils.array_utils.col(col: str) Column
Returns a
Columnbased on the given column name.Added in version 1.3.0.
Changed in version 3.4.0: Supports Spark Connect.
- Parameters:
col (str) – the name for the column
- Returns:
the corresponding column instance.
- Return type:
Column
Examples
>>> col('x') Column<'x'> >>> column('x') Column<'x'>