I've tried df.na.drop(how="all") to remove the rows which has all columns blank/NULL. but i'm getting same number before and after execution of this method.
df = df.na.drop(how = "all")
print('is empty:::', df.rdd.isEmpty())
df.show()
I've tried df.na.drop(how="all") to remove the rows which has all columns blank/NULL. but i'm getting same number before and after execution of this method.
df = df.na.drop(how = "all")
print('is empty:::', df.rdd.isEmpty())
df.show()