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

Fixes #2617: Bug in comparison of segarrays containing empty segments #2639

Conversation

stress-tess
Copy link
Member

This PR (fixes #2617):

  • Fixes bug in equality check of segarrays containing empty segments. Due to bug in gen_ranges, not using the selfcmp groupby, and size mismatch since segarr.all() excludes empty segs
  • Fixed issue with empty segs in gen_ranges
  • Added support for indexing segarray with a uint pdarray
  • Fixed error message in indexing and dataframe indexing
  • Added tests for segarray comparisons

Copy link
Contributor

@Ethan-DeBandi99 Ethan-DeBandi99 left a comment

Choose a reason for hiding this comment

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

Just one thing to discuss. Otherwise, looks good.

arkouda/join.py Outdated Show resolved Hide resolved
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

Pierce Hayes added 2 commits August 7, 2023 12:15
…y segments

This PR (fixes Bears-R-Us#2617):
- Fixes bug in equality check of segarays containing empty segments. Due to bug in gen_ranges, not using the `selfcmp` groupby, and size mismatch since segarr.all() excludes empty segs
- Fixed issue with empty segs in gen_ranges
- Added support for indexing segarray with a uint pdarray
- Fixed error message in indexing and dataframe indexing
- Added tests for seggarray comparisons
@stress-tess stress-tess force-pushed the 2617_comparison_segarray_empty_seg_bug branch from 2aa24e0 to f5864a1 Compare August 7, 2023 16:58
@Ethan-DeBandi99 Ethan-DeBandi99 added this pull request to the merge queue Aug 14, 2023
Merged via the queue into Bears-R-Us:master with commit e4cdec2 Aug 14, 2023
@stress-tess stress-tess deleted the 2617_comparison_segarray_empty_seg_bug branch August 17, 2023 17:21
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.

Bug in comparison of segarrays containing empty segments
4 participants