GaryDiaz
New Contributor II

you can try this: df.na.drop(how = "all"), this will remove the row only if all the rows are null or NaN