Skip to content

Fix mypy errors in core.py - groupby_reduce #153

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

Closed

Conversation

Illviljan
Copy link
Contributor

@Illviljan Illviljan commented Sep 25, 2022

Splitting up #150 as I had trouble finding typos.

@Illviljan Illviljan changed the title Type core.py - groupby_reduce Fix mypy errors in core.py - groupby_reduce Sep 25, 2022
nby = len(by)
by_is_dask = any(is_duck_dask_array(b) for b in by)
bys = tuple(np.asarray(b) if not is_duck_array(b) else b for b in by)
nby = len(bys)
Copy link
Collaborator

Choose a reason for hiding this comment

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

It'd be nice to get these "renaming" changes in a separate PR to make it easier to review.

@Illviljan Illviljan marked this pull request as ready for review September 27, 2022 18:01
@Illviljan Illviljan closed this Oct 6, 2022
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.

2 participants