Skip to content

Commit 18883d8

Browse files
example_poisson_process.py now works with pd.Series refactor
1 parent c942537 commit 18883d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/poisson-line-process/example_poisson_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ def test_poisson_width_num_shapes(save=False):
198198
"treatment": treatment_value,
199199
"intensity": i,
200200
"ate": causal_test_result.test_value.value,
201-
"ci_low": min(causal_test_result.confidence_intervals),
202-
"ci_high": max(causal_test_result.confidence_intervals),
201+
"ci_low": causal_test_result.confidence_intervals[0][0],
202+
"ci_high": causal_test_result.confidence_intervals[1][0],
203203
}
204204
width_num_shapes_results.append(results)
205205
width_num_shapes_results = pd.DataFrame(width_num_shapes_results)

0 commit comments

Comments
 (0)