Skip to content

Commit 2fba338

Browse files
committed
tweak docstring
1 parent 25608ef commit 2fba338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causalpy/pymc_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class LinearRegression(PyMCModel):
290290
... coords={"obs_ind": rd.index, "coeffs": coeffs},
291291
... )
292292
>>> y = xr.DataArray(
293-
... rd["y"].values.reshape(-1, 1),
293+
... rd["y"].values[:, None],
294294
... dims=["obs_ind", "treated_units"],
295295
... coords={"obs_ind": rd.index, "treated_units": ["unit_0"]},
296296
... )

0 commit comments

Comments
 (0)