LabelEncoder is taking forever to run #27303
Unanswered
ArijitSinghEDA
asked this question in
Q&A
Replies: 1 comment
-
The label encoder will intend to find the unique values. It will most probably convert it to a NumPy array and use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running LabelEncoder on a data with ~5.5 million rows on a column having unique values as ['male', 'female']. There are some NaN values present in the column too. A sample of what am I doing:
It did not give any results even after 2 hours, so I aborted it. Why is it taking so long?
Beta Was this translation helpful? Give feedback.
All reactions