xxxxxxxxxx
# remove all rows that have null values on any column
# option 1
df.na.drop().show(false)
# option 2
df.na.drop("any")
# drops all rows that has NULL values on all columns
df.na.drop("all")
# remove Rows with NULL values on selected columns
df.na.drop(subset=["COLUMN_NAME"])