Skip to content

Add optional parameter for pd.factorize to handle new categories in categorical data dynamically #56466

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

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
246bc40
add definition for update_categories
jonathanho168 Dec 6, 2023
9c3d749
def update_categories
jonathanho168 Dec 7, 2023
f8804cb
test new custom_factorize function
jonathanho168 Dec 7, 2023
f9a4a53
alternative way to do custom_factorize
jonathanho168 Dec 7, 2023
641d064
rename file
jonathanho168 Dec 7, 2023
2eb5a2c
rename file (rm old file)
jonathanho168 Dec 7, 2023
b5bcfd5
update prints (more comprehensive)
jonathanho168 Dec 7, 2023
a4abeba
improve implementation
jonathanho168 Dec 8, 2023
79da447
fix deprecation
jonathanho168 Dec 8, 2023
09c0a1d
change algorithms.py
jonathanho168 Dec 11, 2023
096f941
update example usage
jonathanho168 Dec 11, 2023
6cb8727
update expected usage
jonathanho168 Dec 11, 2023
bdc23aa
implement additional parameter for factorize in algorithms.py
jonathanho168 Dec 11, 2023
d330234
rm test files
jonathanho168 Dec 11, 2023
10f9619
added extra factorize functions for original factorization for differ…
ngirase10 Dec 11, 2023
f88c6a9
tests custom factorize data
ngirase10 Dec 11, 2023
44a8b0d
func to test new factorize
ngirase10 Dec 11, 2023
df42b5d
edge case tests
jpurista Dec 11, 2023
3d90297
added docu
Dec 11, 2023
f1a84bb
Merge pull request #1 from ngirase10/feat/categorical-update-categories
minjooki Dec 11, 2023
9dc9491
Merge pull request #3 from ngirase10/aanya-documentation
minjooki Dec 12, 2023
27b22ff
changed list to set
ngirase10 Dec 12, 2023
e8c4c08
changed to set
ngirase10 Dec 12, 2023
ca2c298
replace test suite
jonathanho168 Dec 12, 2023
4799cd1
Merge pull request #4 from ngirase10/test-factorize
ngirase10 Dec 12, 2023
151d3f8
remove additional update_categories function (not needed)`
jonathanho168 Dec 12, 2023
e68a9d6
revert changes to documentation (restore examples)
jonathanho168 Dec 12, 2023
18febb5
update release notes
jonathanho168 Dec 12, 2023
8781d5d
Revert "update release notes"
jonathanho168 Dec 12, 2023
8997ec0
update release notes
jonathanho168 Dec 12, 2023
bd0e592
Revert "update release notes"
jonathanho168 Dec 12, 2023
cc7394c
pull in updated from repo
jonathanho168 Dec 12, 2023
d497589
update release notes
jonathanho168 Dec 12, 2023
77530f5
Revert "update release notes"
jonathanho168 Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading