Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import pyspark.sql.functions as f
  2. f.lower(f.col(col("subject")).show()
  3.  
  4. df.withColumn(
  5. "subject",
  6. F.lower(F.col("subject"))
  7. ).show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement