Skip to content

Closes #2998: diff function - #4418

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:2998-diff_function
May 28, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:2998-diff_function

Conversation

@1RyanK

@1RyanK 1RyanK commented May 16, 2025

Copy link
Copy Markdown
Contributor

The diff function already existed thanks to array_api, just added it in here. Ordinarily it would be in some kind of utility functions, but since that's where it's suggested that any and all be as well, I put this in the same file. Mostly ripped off the existing unit tests but added some things. Seemed to be unhappy with bool, so I made a small change to Chapel code.

Closes #2998: diff function

@1RyanK
1RyanK marked this pull request as ready for review May 16, 2025 16:57
Comment thread arkouda/numpy/pdarrayclass.py Resolved
@1RyanK
1RyanK force-pushed the 2998-diff_function branch 3 times, most recently from f32dcc0 to 9396830 Compare May 19, 2025 15:39
Comment thread arkouda/numpy/pdarrayclass.py Resolved

@ajpotts ajpotts 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 great! Thanks!

Comment thread tests/numpy/pdarrayclass_test.py Resolved
Comment thread tests/numpy/pdarrayclass_test.py Resolved
@1RyanK
1RyanK force-pushed the 2998-diff_function branch 4 times, most recently from cad2759 to cfe39f6 Compare May 28, 2025 11:52

@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.

As we've discussed, it needs diff in arkouda's init.py and arkouda/numpy's init.py. With those added, it passes all the tests, so I'm clicking Approve, knowing you'll insert those two.

@1RyanK
1RyanK force-pushed the 2998-diff_function branch from 2738598 to a01521c Compare May 28, 2025 13:02

@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 May 28, 2025
Merged via the queue into Bears-R-Us:master with commit 7cc4801 May 28, 2025
@1RyanK
1RyanK deleted the 2998-diff_function branch June 3, 2025 12:18
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.

diff function

4 participants