The GroupedArray class is meant to be inherited by other libs, however, some methods returned an instance of this base class, which would then break if methods from the child classes tried to be used. This makes it so that those methods return the (data, indptr) tuple so that the child classes can then construct their own instances from them.
The GroupedArray class is meant to be inherited by other libs, however, some methods returned an instance of this base class, which would then break if methods from the child classes tried to be used. This makes it so that those methods return the (data, indptr) tuple so that the child classes can then construct their own instances from them.
Also adds support for data to be either 1d or 2d.