Table of Contents
statsmodels.tools.grouputils.
group_sums_dummy
sum by groups given group dummy variable
group_dummy can be either ndarray or sparse matrix