We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993da94 commit 9762b81Copy full SHA for 9762b81
src/penn_chime/models.py
@@ -85,7 +85,6 @@ def build_admissions_df(p) -> pd.DataFrame:
85
projection = pd.DataFrame.from_dict(data_dict)
86
# New cases
87
projection_admits = projection.iloc[:-1, :] - projection.shift(1)
88
- projection_admits[projection_admits < 0] = 0
89
projection_admits["day"] = range(projection_admits.shape[0])
90
return projection_admits
91
0 commit comments