Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Returns a Column based on the given column name. Supports Spark Connect.
Syntax
from pyspark.databricks.sql import functions as dbf
dbf.col(col=<col>)
# Or
dbf.column(col=<col>)
Parameters
| Parameter | Type | Description |
|---|---|---|
col |
str |
The name for the column. |
Returns
pyspark.sql.Column: the corresponding column instance.
Examples
from pyspark.databricks.sql import functions as dbf
dbf.col('x')
Column<'x'>