Skip to content

Closes #3755: take function - #4419

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

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:3755-take_function

Conversation

@1RyanK

@1RyanK 1RyanK commented May 16, 2025

Copy link
Copy Markdown
Contributor

Moved the code for the take function from array_api to numeric. There is a discrepancy between what the Array API standard says to do and what numpy does, so I tried to keep both in line with what they should be.

Closes #3755: take function

@1RyanK
1RyanK force-pushed the 3755-take_function branch 3 times, most recently from e3e2184 to 3b3b523 Compare May 19, 2025 17:56
@1RyanK
1RyanK marked this pull request as ready for review May 19, 2025 18:24

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

Thanks for taking this one!

Comment thread tests/numpy/numeric_test.py Resolved
@1RyanK
1RyanK force-pushed the 3755-take_function branch 2 times, most recently from 34c5df0 to 43e1b96 Compare May 21, 2025 16:20

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

This looks good, and tests pass. Could you include examples in the docstring?

@1RyanK
1RyanK force-pushed the 3755-take_function branch 5 times, most recently from 09f1fe6 to c81471b Compare May 27, 2025 18:01
@1RyanK
1RyanK force-pushed the 3755-take_function branch from c81471b to a4f3e5b Compare May 28, 2025 11:52
@ajpotts
ajpotts added this pull request to the merge queue May 28, 2025
Merged via the queue into Bears-R-Us:master with commit e0e9347 May 28, 2025
@1RyanK
1RyanK deleted the 3755-take_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.

take function

4 participants