Skip to content

Conversation

@SimonHeybrock
Copy link
Member

No description provided.

@SimonHeybrock SimonHeybrock enabled auto-merge June 21, 2024 10:43
table = sc.DataArray(sc.ones(dims=['row'], shape=[10]), coords={'label': label})
groups = sc.arange('label', 8, dtype='int64')
assert sc.identical(table.group(groups).coords['label'], groups)
groups[-1] += 1
Copy link
Member

Choose a reason for hiding this comment

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

Not sure I understand what this is doing, but otherwise looks fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, added a comment. Clearer?

@SimonHeybrock SimonHeybrock requested a review from nvaytet June 25, 2024 07:33
@SimonHeybrock SimonHeybrock merged commit 618ea8a into main Jun 25, 2024
@SimonHeybrock SimonHeybrock deleted the support-grouping-mismatching-int-dtype branch June 25, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants