Skip to content

Closes #4940: Refactor factorize to avoid pandas reference - #4941

Merged
ajpotts merged 2 commits into
Bears-R-Us:mainfrom
ajpotts:4940_Refactor_factorize_to_avoid_pandas_reference
Oct 27, 2025
Merged

ajpotts merged 2 commits into
Bears-R-Us:mainfrom
ajpotts:4940_Refactor_factorize_to_avoid_pandas_reference

Conversation

@ajpotts

@ajpotts ajpotts commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

Refactors the factorize function to use arkouda instead of pandas and therefore should be more performant and scale better.

Closes #4940: Refactor factorize to avoid pandas reference

@ajpotts
ajpotts force-pushed the 4940_Refactor_factorize_to_avoid_pandas_reference branch 2 times, most recently from 048facd to 0dcfdd2 Compare September 24, 2025 20:45
@ajpotts
ajpotts force-pushed the 4940_Refactor_factorize_to_avoid_pandas_reference branch 2 times, most recently from 691f5cf to 562cc70 Compare October 8, 2025 15:12
@ajpotts
ajpotts force-pushed the 4940_Refactor_factorize_to_avoid_pandas_reference branch 2 times, most recently from 2dae4bf to 8e7f23b Compare October 21, 2025 16:23
@ajpotts
ajpotts force-pushed the 4940_Refactor_factorize_to_avoid_pandas_reference branch from b688979 to 582f35d Compare October 22, 2025 20:44
@ajpotts
ajpotts force-pushed the 4940_Refactor_factorize_to_avoid_pandas_reference branch from 582f35d to 0590413 Compare October 22, 2025 21:18
@ajpotts
ajpotts marked this pull request as ready for review October 23, 2025 00:44

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is still a work in progress, I'm content to say "this looks correct." Before the ultimate commit, we'd want unit tests, of course. I may try to develop some myself.

@ajpotts

ajpotts commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

@drculhane There are unit tests here: arkouda/pandas/extension/_arkouda_extension_array.py

@drculhane

Copy link
Copy Markdown
Contributor

@drculhane There are unit tests here: arkouda/pandas/extension/_arkouda_extension_array.py

Yes, there are. Duh. My apologies.

@1RyanK 1RyanK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ajpotts
ajpotts added this pull request to the merge queue Oct 27, 2025
Merged via the queue into Bears-R-Us:main with commit 97bfc6b Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor factorize to avoid pandas reference

4 participants