Skip to content

BUG: .sparse.to_coo() with numeric col index without a 0 #38567

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 3 commits into from
Dec 22, 2020

Conversation

mzeitlin11
Copy link
Member

Added tests for some other column name types which raised before this change, if that's overkill I can just test the int case from the OP.

@jreback jreback added Bug Dtype Conversions Unexpected or buggy dtype conversions Sparse Sparse Data Type labels Dec 22, 2020
@jreback jreback added this to the 1.3 milestone Dec 22, 2020
@jreback jreback merged commit 12c58e1 into pandas-dev:master Dec 22, 2020
@jreback
Copy link
Contributor

jreback commented Dec 22, 2020

thanks @mzeitlin11 very nice, keep em coming!

@mzeitlin11 mzeitlin11 deleted the bug/sparse_to_coo branch December 22, 2020 14:31
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions Sparse Sparse Data Type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError when calling to_coo() on SparseDataFrame
2 participants