Skip to content
Snippets Groups Projects
Commit 8b55f2c8 authored by Chandrasekhar Ramakrishnan's avatar Chandrasekhar Ramakrishnan
Browse files

fix: added a tested column to jhu conversion output

parent 462cb73e
No related branches found
No related tags found
2 merge requests!107US Census,!103standardize-data
...@@ -79,6 +79,7 @@ class JhuCsseGlobalCaseConverter(CaseConverterImpl): ...@@ -79,6 +79,7 @@ class JhuCsseGlobalCaseConverter(CaseConverterImpl):
merged = df.loc[df["country"].isin(pop_ser.index)].copy() merged = df.loc[df["country"].isin(pop_ser.index)].copy()
merged["population"] = merged.apply(lambda r: pop_ser.loc[r["country"]], axis=1) merged["population"] = merged.apply(lambda r: pop_ser.loc[r["country"]], axis=1)
merged['region_iso'] = merged['country'] merged['region_iso'] = merged['country']
merged['tested'] = np.nan
return self._set_common_columns(merged) return self._set_common_columns(merged)
def read_ser(self, path, name): def read_ser(self, path, name):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment