I am pretty new to scala I have a situation where I have a dataframe with multiple columns, some of these columns having random null values at random places. I need to find any such column having even a single null value and drop it from the dataframe.
#### Input | Column 1 | Column 2 | Column 3 | Column 4 | Column 5 | | --------------| --------------| --------------| --------------| --------------| |(123)-456-7890 | 123-456-7890 |(123)-456-789 | |(123)-456-7890 | |(123)-456-7890 | 123-4567890 |(123)-456-7890 |(123)-456-7890 | null | |(123)-456-7890 | 1234567890 |(123)-456-7890 |(123)-456-7890 | null | #### Output | Column 1 | Column 2 | | --------------| --------------| |(123)-456-7890 | 123-456-7890 | |(123)-456-7890 | 123-4567890 | |(123)-456-7890 | 1234567890 | Please advise. Thank you.