Skip to content
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

Closes #2454 - Update SegArray.__getitem__ to Always Return pdarray #2466

Merged
merged 1 commit into from
May 31, 2023

Conversation

Ethan-DeBandi99
Copy link
Contributor

Closes #2454

This PR updates SegArray.__getitem__ to always return pdarray instead of ndarray. This prevents issues with large objects being returned.

Some testing required updates to support this change. This involved updating ndarray.tolist() to pdarray.to_list().

Copy link
Member

@stress-tess stress-tess left a comment

Choose a reason for hiding this comment

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

looks good to me!

Copy link
Contributor

@jaketrookman jaketrookman left a comment

Choose a reason for hiding this comment

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

Looks good

@stress-tess stress-tess added this pull request to the merge queue May 31, 2023
Merged via the queue into Bears-R-Us:master with commit b7ec717 May 31, 2023
@Ethan-DeBandi99 Ethan-DeBandi99 deleted the 2454_seg_getitm_upd branch June 5, 2023 12:16
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.

SegArray.__getitem__ Returns ndarray. Should It?
4 participants