Skip to content

CLN: declare types in rank_1d_, rank_2d #28978

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

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

jbrockmendel
Copy link
Member

This is necessary before we can move these functions to use fused types.

else:
values = in_arr.copy()
values = np.asarray(in_arr).copy()
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because without it cython raises at compile-time because it in_arr and values have different types

@gfyoung gfyoung added Clean Internals Related to non-user accessible pandas implementation labels Oct 15, 2019
@jreback jreback added this to the 1.0 milestone Oct 15, 2019
@jreback
Copy link
Contributor

jreback commented Oct 15, 2019

any perf improvement?

@jreback jreback merged commit 3eca505 into pandas-dev:master Oct 15, 2019
@jbrockmendel jbrockmendel deleted the fusemore2 branch October 15, 2019 15:23
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants