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 479f8f4 commit ea6e3d7Copy full SHA for ea6e3d7
hhs_hosp/tests/test_run.py
@@ -100,8 +100,8 @@ def test_transform_signal_pop():
100
'timestamp': [datetime(year=2020, month=1, day=1)]*2,
101
'val': [15., 150.],})
102
103
- pa_pop = int(state_pop.loc[state_pop.state_id == "pa", "pop"])
104
- wv_pop = int(state_pop.loc[state_pop.state_id == "wv", "pop"])
+ pa_pop = int(state_pop[state_pop.state_id == "pa"]["pop"].iloc[0])
+ wv_pop = int(state_pop[state_pop.state_id == "wv"]["pop"].iloc[0])
105
pd.testing.assert_frame_equal(
106
transform_signal(
107
CONFIRMED_PROP,
0 commit comments