Skip to content

DEPR: index argument to SparseArray #23089

Closed
@TomAugspurger

Description

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)

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandasSparseSparse Data Type

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions