4.7.7.1.1.1. statsmodels.tools.grouputils.combine_indices

statsmodels.tools.grouputils.combine_indices(groups, prefix='', sep='.', return_labels=False)[source]

use np.unique to get integer group indices for product, intersection