pyspark.sql.
DataFrameNaFunctions
Functionality for working with missing data in DataFrame.
DataFrame
New in version 1.4.
Methods
drop([how, thresh, subset])
drop
Returns a new DataFrame omitting rows with null values.
fill(value[, subset])
fill
Replace null values, alias for na.fill().
na.fill()
replace(to_replace[, value, subset])
replace
Returns a new DataFrame replacing a value with another value.