python pandas drop dataframe row if column is empty code example Example: drop null rows pandas df.dropna()