How to modify a column based on the values in another column of a PySpark dataframe? F.when edge case
I'd like to go through each row in a pyspark dataframe, and change the value of a column based on the content of another column. The value I am changing it to is also based on the current value of the column to be changed. Specifically, I have a column which contains DenseVectors, and another column...