def search(df, text):
    """
    Search function on result (file .pkl)

    :param df: (dataframe) dataframe of pandas
    :param text: (str) text

    :return: a dataframe of pandas that include text
    """
    df = df.astype(str)
    result_set = set()
    for column in df.columns:
        result = df[column].str.contains(text)
        for i in range(len(result.values)):
            if result.values[i] == True:
                result_set.add(result.index[i])
    return df.loc[result_set]
