# For columns of string elements, searching if it contains the word. # Case insensitive df.loc[df['column_name'].str.contains("search_word", case=False)]