Open adelavega opened 2 years ago
Just drop group
unless there are groups. I've also considered whether we should introduce an implicit "all"
group so that you can use the same model whether or not a group variable is present in the dataset.
Ah, I think I was confused as to whether this was even valid or should be "dataset". Raised an issue in modelzoo
but that one did have groups I believe, so can disregard that.
With pybids 0.15.1, we get the following error:
ValueError: group_by contains variable(s) ['group'] that could not be found in the entity index.
for model:
Looks like the final
groupby
should bedataset