Skip to content

Commit f616091

Browse files
Return float rather than Series for ci_high and ci_low
1 parent 1eac357 commit f616091

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causal_testing/testing/causal_test_result.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ def to_dict(self, json=False):
9999
def ci_low(self):
100100
"""Return the lower bracket of the confidence intervals."""
101101
if self.confidence_intervals:
102-
return self.confidence_intervals[0]
102+
return self.confidence_intervals[0][0]
103103
return None
104104

105105
def ci_high(self):
106106
"""Return the higher bracket of the confidence intervals."""
107107
if self.confidence_intervals:
108-
return self.confidence_intervals[1]
108+
return self.confidence_intervals[1][0]
109109
return None
110110

111111
def ci_valid(self) -> bool:

0 commit comments

Comments
 (0)