I have a data frame with a Column Gender. I have to replace "Male" with "Female" and "Female" with "Male". How can this be done in PySpark?
I have a data frame with a Column Gender. I have to replace "Male" with "Female" and "Female" with "Male". How can this be done in PySpark?