We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df955e7 commit 77798d8Copy full SHA for 77798d8
1 file changed
apps/metadata/lookups.py
@@ -62,7 +62,7 @@ def prepare_lookup_df(self) -> pd.DataFrame:
62
extra_dfs = []
63
for country in all_countries:
64
country_df = df[df["country_id"] == country]
65
- null_purpose_rows = country_df[country_df["purpose"].isnull()]
+ null_purpose_rows = country_df[country_df["purpose"] == ""]
66
for purpose in all_purposes:
67
# Only add duplicate rows for purposes that aren't already defined for this country
68
if purpose not in country_df["purpose"].unique():
0 commit comments