" labels_dict = {k:i for i, k in enumerate(X_train[col].unique(), 0)}\n", " X_train.loc[:, col] = X_train.loc[:, col].map(labels_dict )\n", " X_test.loc[:, col] = X ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results