Logo

statsmodels.sandbox.regression.try_catdata.convertlabels

statsmodels.sandbox.regression.try_catdata.convertlabels(ys, indices=None)[source]

convert labels based on multiple variables or string labels to unique index labels 0,1,2,...,nk-1 where nk is the number of distinct labels

Previous topic

statsmodels.sandbox.regression.try_catdata.cat2dummy

Next topic

statsmodels.sandbox.regression.try_catdata.groupsstats_1d

This Page