I have a PySpark DataFrame
Col1 Col2 Col3
0.1 0.2 0.3
I want to get the column names where at least one row meets a condition for example a row is bigger than 0.1
My expected result is should be in this case:
[Co2 , Co3]
I cannot provide any code because truly I don't know how to do this.