Skip to content

DEPR: index argument to SparseArray #43523

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 2 commits into from
Sep 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix docstring validation error
  • Loading branch information
mzeitlin11 committed Sep 12, 2021
commit 6e742b318d72d5fd20dbd096f05fb356ff86066d
6 changes: 3 additions & 3 deletions pandas/core/arrays/sparse/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ class SparseArray(OpsMixin, PandasObject, ExtensionArray):
sparse_index : SparseIndex, optional
index : Index

.. deprecated:: 1.4.0
Use a function like `np.full` to construct an array with the desired repeats
of the scalar value instead.
.. deprecated:: 1.4.0
Use a function like `np.full` to construct an array with the desired
repeats of the scalar value instead.

fill_value : scalar, optional
Elements in `data` that are `fill_value` are not stored in the
Expand Down