File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,15 @@ the correct dense result.
181
181
np.abs(arr)
182
182
np.abs(arr).to_dense()
183
183
184
+ .. _sparse.reshaping :
185
+
186
+ Reshaping by stacking and unstacking
187
+ ------------------------------------
188
+
189
+ ``SparseSeries `` and ``SparseDataFrame `` implement ``.stack() `` and
190
+ ``.unstack() `` methods that should behave exactly the same as on
191
+ :ref: `their non-sparse counterparts <reshaping.stacking >`.
192
+
184
193
.. _sparse.scipysparse :
185
194
186
195
Interaction with scipy.sparse
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ Performance Improvements
303
303
Bug Fixes
304
304
~~~~~~~~~
305
305
306
- - Bug in :func:`SparseSeries.unstack` and :func:`SparseDataFrame.stack` (:issue:`16614`, :issue:`15045`)
306
+ - Bug in :func:`SparseSeries.unstack` and :func:`SparseDataFrame.stack`. See :ref:`docs <sparse.reshaping>` (:issue:`16614`, :issue:`15045`)
307
307
308
308
Conversion
309
309
^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments