Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
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()