drop all rows that are a string in a column panda code example Example: remove rows from pandas dataframe that have text df[df.columnName != 'text']