O'Reilly logo
  • Xiaoyuan ZHANG thinks this is interesting:

val dfNoNull = dfWithDate.drop()

From

Cover of Spark: The Definitive Guide

Note

val dfNoNull = dfWithDate.na.drop()