You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-46065][PS] Refactor (DataFrame|Series).factorize() to use create_map
### What changes were proposed in this pull request?
This PR proposes to refactor `(DataFrame|Series).factorize()` to use `create_map`.
### Why are the changes needed?
To optimize performance by using official API and also improve the readability.
### Does this PR introduce _any_ user-facing change?
No, it's internal refactoring.
### How was this patch tested?
The existing CI should pass.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#43970 from itholic/refactor_factorize.
Authored-by: Haejoon Lee <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
0 commit comments