remove raws that has multi strings in one cell and keep the one that has one string in one cell code example Example: remove rows from pandas dataframe that have text df[df.columnName != 'text']