Skip to content

Commit dac57c2

Browse files
-0.25 to NaN
1 parent 193b618 commit dac57c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/historeport/routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def histo_download():
4848
onto_tree = json.load(fp)
4949
df = db_to_df()
5050
df, features_col = table_to_df(df, onto_tree)
51+
df = df.replace({-0.25: np.nan})
5152
resp = make_response(df.to_csv())
5253
resp.headers["Content-Disposition"] = "attachment; filename=text_reports.csv"
5354
resp.headers["Content-Type"] = "text/csv"

0 commit comments

Comments
 (0)