1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-06-11 19:30:59 +02:00

1 Commits

Author SHA1 Message Date
83873ca2e9 Merge c1d7d695b2 into 8a2c567d1f 2025-02-13 19:48:27 +00:00

View File

@ -389,7 +389,7 @@ def countries_match_regions(row, exclude):
# string (length would be 0). # string (length would be 0).
if row[region_column_name] is not None and len(row[region_column_name]) > 0: if row[region_column_name] is not None and len(row[region_column_name]) > 0:
row[region_column_name] = ( row[region_column_name] = (
row[region_column_name] + "||".join(missing_regions) row[region_column_name] + "||" + "||".join(missing_regions)
) )
else: else:
row[region_column_name] = "||".join(missing_regions) row[region_column_name] = "||".join(missing_regions)