Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix(core): replace missing yhats with None/null
Browse files Browse the repository at this point in the history
In some cases `df[col`] can be `np.nan`, so explicitly replace those
values with None.

The type checker does not like this for some reason.
  • Loading branch information
Samyak2 committed Sep 23, 2022
1 parent 247c60f commit 4d4fb2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaos_genius/core/utils/round.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ def round_column_in_df(df: pd.DataFrame, col: str):
),
),
),
df[col]
None,
)

0 comments on commit 4d4fb2f

Please sign in to comment.