DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pyspark concat columns
from pyspark.sql.functions import concat, col, lit df.select(concat(col("k"), lit(" "), col("v")))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pyspark
#concat
#columns
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit