
Ultimate access to all questions.
Which of the following operations can be used to rename and replace an existing column in a PySpark DataFrame?
A
DataFrame.renamedColumn()
B
DataFrame.withColumnRenamed()
C
DataFrame.wlthColumn()
D
col()
E
DataFrame.newColumn()