티스토리 뷰

공부

[Spark] withColumnrenamed

승가비 2022. 11. 7. 20:35
728x90
df.withColumnRenamed("dob","DateOfBirth")
    .printSchema()

https://sparkbyexamples.com/spark/rename-a-column-on-spark-dataframes/

 

728x90
댓글