หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Returns str with all characters changed to lowercase.
For the corresponding Databricks SQL function, see lcase function.
Syntax
from pyspark.databricks.sql import functions as dbf
dbf.lcase(str=<str>)
Parameters
| Parameter | Type | Description |
|---|---|---|
str |
pyspark.sql.Column or str |
Input column or strings. |
Examples
from pyspark.databricks.sql import functions as dbf
spark.range(1).select(dbf.lcase(dbf.lit("Spark"))).show()
+------------+
|lcase(Spark)|
+------------+
| spark|
+------------+