Do not fill NA with 0 for light metrics

pull/95/head
Meng Li 2020-03-09 13:57:09 -04:00
parent 490ff43fbf
commit e106bb3190
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,6 @@ if not light_data.empty:
if "stdlux" in metrics:
light_features["light_" + day_segment + "_stdlux"] = light_data.groupby(["local_date"])["double_light_lux"].std()
light_features = light_features.fillna(0).reset_index()
light_features = light_features.reset_index()
light_features.to_csv(snakemake.output[0], index=False)