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

REF: implement _reconstruct_ea_result, _ea_to_cython_values #46172

Merged
merged 4 commits into from
Feb 28, 2022

Conversation

jbrockmendel
Copy link
Member

The idea being to eventually refactor those into EA/EADtype methods, xref #43682

@@ -1350,6 +1350,10 @@ cdef group_min_max(iu_64_floating_t[:, ::1] out,
else:
if uses_mask:
result_mask[i, j] = True
# set out[i, j] to 0 to be deterministic, as
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't you just np.zeros instead of empyt to start?

Copy link
Member Author

Choose a reason for hiding this comment

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

empty is cheaper in the non-masked case

@jreback jreback added the Refactor Internal refactoring of code label Feb 28, 2022
@jreback jreback added this to the 1.5 milestone Feb 28, 2022
@jreback
Copy link
Contributor

jreback commented Feb 28, 2022

@jbrockmendel
Copy link
Member Author

looks like 32 bit failing

fixed

@jreback jreback merged commit 367f8a1 into pandas-dev:main Feb 28, 2022
@jbrockmendel jbrockmendel deleted the enh-ea-43682 branch February 28, 2022 22:17
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants