I have a Spark Dataframe
I need to convert scala dataframe as,
I don’t want to print any null values in the dataframe table (at any empty value) I tried ,but for empty value, “null” prints. If I use dataframe.na, it is remove the entire row at null column. I just ant to remove null value where ever it comes and arrange the column values as above result table.
My second question, how to convert rdd[string,string] to rdd[string] with and new line applied. Thank you.