renommer colmnname dans dataframe scala

df.withColumnRenamed("dob","DateOfBirth")
    .printSchema()
Bright Bug