Jan Mühlnikel
test
f3a1940
raw
history blame
No virus
393 Bytes
import pandas as pd
def different_orga_filter(df, orga):
# FILTER COUNTRY
country_filtered_df = pd.DataFrame()
for c in country_code_list:
c_df = df[df["country"].str.contains(c, na=False)]
country_filtered_df = pd.concat([country_filtered_df, c_df], ignore_index=False)
df = country_filtered_df
return country_filtered_df