I\'m Reading a text file delimited with | . There are some fields having value \\N . When read the file row by row to a data-frame, is there any way to make the field having
"DataFrameNaFunctions" can be used for replace value "\N" in all columns with "":
df.na.replace(df.columns.toSeq, Map("\\N" -> ""))