Comment¶
You can use withColumnRenamed
to rename a column in a DataFrame.
You can also do renaming using alias
when select columns.
You can use withColumnRenamed
to rename a column in a DataFrame.
You can also do renaming using alias
when select columns.