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 25608ef commit 2fba338Copy full SHA for 2fba338
causalpy/pymc_models.py
@@ -290,7 +290,7 @@ class LinearRegression(PyMCModel):
290
... coords={"obs_ind": rd.index, "coeffs": coeffs},
291
... )
292
>>> y = xr.DataArray(
293
- ... rd["y"].values.reshape(-1, 1),
+ ... rd["y"].values[:, None],
294
... dims=["obs_ind", "treated_units"],
295
... coords={"obs_ind": rd.index, "treated_units": ["unit_0"]},
296
0 commit comments