Finding substring in pandas frozenset
问题 I'm trying to find a substring in a frozenset, however I'm a bit out of options. My data structure is a pandas.dataframe (it's from the association_rules from the mlxtend package if you are familiar with that one) and I want to print all the rows where the antecedents (which is a frozenset) include a specific string. Sample data: print(rules[rules["antecedents"].str.contains('line', regex=False)]) However whenever I run it, I get an Empty Dataframe. When I try running only the inner function