# credit to the Stack Overflow user in the source link import pandas as pd df = pd.DataFrame(...) df_blank_strings = df[df["text"].str.isspace()]