# if you want to delete rows containing NA values df.dropna(inplace=True)
import pandas as pd df = df[pd.notnull(df['Gender'])]