Skip to content

Commit 61d029d

Browse files
Jingjing TangJingjing Tang
authored andcommitted
delete fillna with 0 for smoothed
1 parent 797a088 commit 61d029d

File tree

1 file changed

+0
-2
lines changed
  • google_symptoms/delphi_google_symptoms

1 file changed

+0
-2
lines changed

google_symptoms/delphi_google_symptoms/run.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ def run_module():
3434
METRICS+["combined_symptoms"], SMOOTHERS):
3535
print(geo_res, metric, smoother)
3636
df = df_pull.set_index(["timestamp", "geo_id"])
37-
if smoother == "smoothed":
38-
df[metric] = df[metric].fillna(0)
3937
df["val"] = df[metric].groupby(level=1
4038
).transform(SMOOTHERS_MAP[smoother][0])
4139
df["se"] = np.nan

0 commit comments

Comments
 (0)