- 4765 Views
- 4 replies
- 0 kudos
Latest Reply
df.na.replace(df.columns,Map("" -> "0")).show() // to convert from blank strings to zero
- 0 kudos
df.na.replace(df.columns,Map("" -> "0")).show() // to convert from blank strings to zero
I'm trying to display() the results from calling first() on a DataFrame, but display() doesn't work with pyspark.sql.Row objects. How can I display this result?