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
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.16.0.rst
+2-4
Original file line number
Diff line number
Diff line change
@@ -91,8 +91,7 @@ Interaction with scipy.sparse
91
91
92
92
Added :meth:`SparseSeries.to_coo` and :meth:`SparseSeries.from_coo` methods (:issue:`8048`) for converting to and from ``scipy.sparse.coo_matrix`` instances (see :ref:`here <sparse.scipysparse>`). For example, given a SparseSeries with MultiIndex we can convert to a `scipy.sparse.coo_matrix` by specifying the row and column labels as index levels:
93
93
94
-
.. ipython:: python
95
-
:okwarning:
94
+
.. code-block:: python
96
95
97
96
s = pd.Series([3.0, np.nan, 1.0, 3.0, np.nan, np.nan])
0 commit comments