create_export_csv
rounding should be sigfigs, not just digits
#1945
Labels
create_export_csv
rounding should be sigfigs, not just digits
#1945
Specifically, this line:
covidcast-indicators/_delphi_utils_python/delphi_utils/export.py
Line 128 in a99327b
Not currently a problem as far as I can tell, but if we ever get a signal whose data is of the size
1.423e-8
, then this will round to zero.I hacked together a function that does this correctly from some stack overflow code for nwss
covidcast-indicators/nwss_wastewater/delphi_nwss/pull.py
Lines 18 to 30 in a99327b
but it would be good to understand if there are good reasons this was written the way it is before simply replacing it.
The text was updated successfully, but these errors were encountered: