GauravKhare
New Contributor II

df.na.replace(df.columns,Map("" -> "0")).show() // to convert from blank strings to zero