pandas 模糊查询
def search(df, column, keywords): """ Pandas fuzzy search :param df: pandas dataframe :param column: the name of column :param keywords: the key words of your search :return: [true, false,...,true] list """ return df[column].str.contains(keywords)