Search
 
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
Name
2+9 =