Cambiar el nombre de colmnname en DataFrame Scala
df.withColumnRenamed("dob","DateOfBirth")
.printSchema()
Bright Bug
df.withColumnRenamed("dob","DateOfBirth")
.printSchema()