for column in data.columns: #print(type(data[column])) print(data[column].str.contains(\'\'), regex=False) ----------------------------------------------------