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

DEPR: index argument to SparseArray #23089

Closed
TomAugspurger opened this issue Oct 11, 2018 · 0 comments · Fixed by #43523
Closed

DEPR: index argument to SparseArray #23089

TomAugspurger opened this issue Oct 11, 2018 · 0 comments · Fixed by #43523
Labels
Deprecate Functionality to remove in pandas Sparse Sparse Data Type
Milestone

Comments

@TomAugspurger
Copy link
Contributor

It's out of place with the other array types, and not used in many places

In [1]: import pandas as pd

In [2]: pd.SparseArray(1, index=[0, 1, 2])
Out[2]:
[1, 1, 1]
Fill: 0
IntIndex
Indices: array([0, 1, 2], dtype=int32)
@TomAugspurger TomAugspurger added Sparse Sparse Data Type Deprecate Functionality to remove in pandas labels Oct 11, 2018
@TomAugspurger TomAugspurger added this to the Contributions Welcome milestone Oct 11, 2018
@jreback jreback modified the milestones: Contributions Welcome, 1.4 Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Sparse Sparse Data Type
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants