Jan Mühlnikel
commited on
Commit
·
d58c7bc
1
Parent(s):
e22c7b1
show filtered df in spm#
Browse files
functions/filter_single.py
CHANGED
|
@@ -5,7 +5,7 @@ def contains_code(crs_codes, code_list):
|
|
| 5 |
codes = str(crs_codes).split(';')
|
| 6 |
return any(code in code_list for code in codes)
|
| 7 |
|
| 8 |
-
def
|
| 9 |
# FILTER COUNTRY
|
| 10 |
if country_code_list != []:
|
| 11 |
country_filtered_df = pd.DataFrame()
|
|
|
|
| 5 |
codes = str(crs_codes).split(';')
|
| 6 |
return any(code in code_list for code in codes)
|
| 7 |
|
| 8 |
+
def filter_single(df, country_code_list, orga_code_list):
|
| 9 |
# FILTER COUNTRY
|
| 10 |
if country_code_list != []:
|
| 11 |
country_filtered_df = pd.DataFrame()
|