Skip to content

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Feb 14, 2018

xref #19679 and #19481

@TomAugspurger
Copy link
Contributor

Can you merge in master? The timeouts will hopefully be fixed...

@WillAyd
Copy link
Member Author

WillAyd commented Feb 14, 2018

adding @jreback for merge

@@ -531,7 +531,7 @@ def group_rank_{{name}}(ndarray[float64_t, ndim=2] out,
# each label corresponds to a different group value,
# the mask helps you differentiate missing values before
# performing sort on the actual values
_as = np.lexsort(order).view(dtype=np.int64)
_as = np.lexsort(order).astype(np.int64)
Copy link
Contributor

Choose a reason for hiding this comment

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

add copy=False which will elide the copy on a 64 bit platform.

@chris-b1 chris-b1 mentioned this pull request Feb 14, 2018
4 tasks
@jreback jreback added Groupby 32bit 32-bit systems labels Feb 14, 2018
@jreback jreback added this to the 0.23.0 milestone Feb 14, 2018
@jreback
Copy link
Contributor

jreback commented Feb 14, 2018

sure can merge on green.

@jreback jreback merged commit 6cd42eb into pandas-dev:master Feb 14, 2018
@jreback
Copy link
Contributor

jreback commented Feb 14, 2018

thanks again @WillAyd

@WillAyd WillAyd deleted the rank-segflt-fix branch February 14, 2018 23:22
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
* Use astype instead of view for lexsort upcasting

* Added copy=False to astype in group_rank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32bit 32-bit systems Groupby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants