Skip to content

Commit 2726484

Browse files
committed
formatting
1 parent 45f1b1a commit 2726484

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

causalpy/experiments/diff_in_diff.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ def __init__(
116116
self.y = xr.DataArray(
117117
self.y[:, 0],
118118
dims=["obs_ind"],
119-
coords={
120-
"obs_ind": self.data.index,
121-
},
119+
coords={"obs_ind": self.data.index},
122120
)
123121

124122
# fit model

causalpy/experiments/interrupted_time_series.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def __init__(
122122
self.pre_y = xr.DataArray(
123123
self.pre_y[:, 0],
124124
dims=["obs_ind"],
125-
coords={
126-
"obs_ind": self.datapre.index,
127-
},
125+
coords={"obs_ind": self.datapre.index},
128126
)
129127
self.post_X = xr.DataArray(
130128
self.post_X,
@@ -137,9 +135,7 @@ def __init__(
137135
self.post_y = xr.DataArray(
138136
self.post_y[:, 0],
139137
dims=["obs_ind"],
140-
coords={
141-
"obs_ind": self.datapost.index,
142-
},
138+
coords={"obs_ind": self.datapost.index},
143139
)
144140

145141
# fit the model to the observed (pre-intervention) data

0 commit comments

Comments
 (0)