This is base on the discussion in the PR #265. Do groups have the same semantics as in sklearn ? If yes, we should use the same type. I belive it is an array. _Originally posted by @bthirion in https://github.com/mind-inria/hidimstat/pull/265#discussion_r2153145512_