Documentation
Tutorial - Examples
sliced.base.
grouped_sum
Sums an array by groups. Groups are assumed to be contiguous by row.