Skip to content

Commit b16c58c

Browse files
committed
change infs to None
1 parent 6590b65 commit b16c58c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/acquisition/rvdss/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def update(data, logger):
8888
cur = cnx.cursor()
8989

9090
data = data.reset_index(
91-
).replace({np.nan: None})
91+
).replace({np.nan: None,np.inf: None,-np.inf: None})
9292
rvdss_cols_subset = [col for col in data.columns if col in rvdss_cols]
9393
data_dict = data.to_dict(orient = "records")
9494

0 commit comments

Comments
 (0)