📅  最后修改于: 2022-03-11 14:45:54.942000             🧑  作者: Mango
#String that contains str in dataframe column pName
df_t['pName'].str.contains(str, case=True)
# show the string that contains the Lotion on the dataframe column pName
df_t[df_t['pName'].str.contains("Lotion", case=True)]['pName']