pandas
pandas copied to clipboard
CLN: Simplify factorize
- [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] Tests added and passed if fixing a bug or adding a new feature
- [ ] All code checks passed.
- [ ] Added type annotations to new arguments/methods/functions.
- [ ] Added an entry in the latest
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.
#48539 now allows the simplification from #48477 as it will no longer change behavior.