Answers for "pyspark lit column"

0

pyspark lit column

from pyspark.sql.functions import lit
df.withColumn("columnName", lit(<value>))
Posted by: Guest on June-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language