7.19.4.7. statsmodels.sandbox.regression.try_catdata.groupsstats_1d

statsmodels.sandbox.regression.try_catdata.groupsstats_1d(y, x, labelsunique)[source]

use ndimage to get fast mean and variance