You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closes#12797
Author: sinhrks <[email protected]>
Closes#12831 from sinhrks/sparse_reindex and squashes the following commits:
bdd8e16 [sinhrks] BUG: SparseSeries.reindex with fill_value
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.1.txt
+2
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,9 @@ These changes conform sparse handling to return the correct types and work to ma
80
80
- Bug in ``SparseDataFrame.loc[]``, ``.iloc[]`` may results in dense ``Series``, rather than ``SparseSeries`` (:issue:`12787`)
81
81
- Bug in ``SparseSeries.__repr__`` raises ``TypeError`` when it is longer than ``max_rows`` (:issue:`10560`)
82
82
- Bug in ``SparseSeries.shape`` ignores ``fill_value`` (:issue:`10452`)
83
+
- Bug in ``SparseSeries.reindex`` incorrectly handle ``fill_value`` (:issue:`12797`)
83
84
- Bug in ``SparseArray.to_dense()`` does not preserve ``dtype`` (:issue:`10648`)
85
+
- Bug in ``SparseArray.to_dense()`` incorrectly handle ``fill_value`` (:issue:`12797`)
84
86
- ``SparseArray.take`` now returns scalar for scalar input, ``SparseArray`` for others. Also now it handles negative indexer as the same rule as ``Index`` (:issue:`10560`, :issue:`12796`)
0 commit comments