DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pyspark add string to columns name
dataframe.select([col(col_name).alias('VAA_' + col_name) for col_name in dataframe.columns])
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pyspark
#add
#string
#columns
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit