Skip to content

Conversation

@mzeitlin11
Copy link
Member

Could probably be pushed further to avoid densifying doe step != 1, but this seemed like a good starting point as the most common case

 before after ratio [21c29919] [5622f636] <master> <sparse_getitem_slice> - 12.2±1ms 35.2±3μs 0.00 sparse.GetItem.time_slice 
@mzeitlin11 mzeitlin11 added Indexing Related to indexing on series/frames, not to indexes themselves Performance Memory or execution speed performance Sparse Sparse Data Type labels Sep 28, 2021
@jreback jreback added this to the 1.4 milestone Sep 28, 2021
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

lgtm. @jbrockmendel if any comments.

Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

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

LGTM

@jreback jreback merged commit 0844ca0 into pandas-dev:master Sep 28, 2021
@mzeitlin11 mzeitlin11 deleted the sparse_getitem_slice branch September 28, 2021 23:50
gasparitiago pushed a commit to gasparitiago/pandas that referenced this pull request Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Indexing Related to indexing on series/frames, not to indexes themselves Performance Memory or execution speed performance Sparse Sparse Data Type

3 participants