python pandas remove empty rows from dataframe code example Example: drop null rows pandas df.dropna()