if column blank then remove null value in dataframe code example
Example 1: if none in column remove row
import pandas as pd
df = df[pd.notnull(df['Gender'])]
Example 2: pandas remove rows with null in column
df = df[df['EPS'].notna()]
import pandas as pd
df = df[pd.notnull(df['Gender'])]
df = df[df['EPS'].notna()]