delete row if column is 0 code example Example: if none in column remove row import pandas as pd df = df[pd.notnull(df['Gender'])]