sandbox.regression.try_catdata.convertlabels()

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

doc_statsmodels
2017-01-18 16:15:46
Comments
Leave a Comment

Please login to continue.