📜  sql 类似于 python 代码示例中的等价物

📅  最后修改于: 2022-03-11 14:45:54.942000             🧑  作者: Mango

代码示例1
#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']