Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename colmnname in dataframe scala

df.withColumnRenamed("dob","DateOfBirth")
    .printSchema()
Source by sparkbyexamples.com #
 
PREVIOUS NEXT
Tagged: #rename #colmnname #dataframe #scala
ADD COMMENT
Topic
Name
5+1 =