-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DISCUSSION] Replacing na_sentinel
with null mask for Series.label_encoding
#5622
Comments
Some thoughts:
The main difference between Due to this, I'd propose we change the |
This issue has been labeled |
As of pandas 1.5 the |
What is your question?
Opening up the discussion into a new issue that happened in PR 5619
We might want to retain
na_sentinel
for feature parity with PandasSeries.factorize
(which internally callslabel_encoding
). But the proposal here is to defaultlabel_encoding
'sna_sentinel
toNone
and set rows to nulls when we don't have ana_sentinel
value supplied.cc: @kkraus14 @rgsl888prabhu @shwina
The text was updated successfully, but these errors were encountered: