<jupyter_start><jupyter_text>Resolving people<jupyter_code>df_people = df[df['GENDER'].isin(['M', 'F'])].copy()
df_people_small = df_people.head(600)
f = Filter(df_people, "res_WIKIDATA_IDs")
f.add_property_filter("P31", 'Q5') # human
f.add_label_filter("PREFERRED_NAME", threshold=90, include_aliases=True)
f.view_filters()
f.process_dataframe()
df_new = f.get_dataframe()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup