SparseDataFrame.to_coo()
Return the contents of the frame as a sparse SciPy COO matrix.
New in version 0.20.0.
coo_matrix : scipy.sparse.spmatrix
If the caller is heterogeneous and contains booleans or objects, the result will be of dtype=object. See Notes.
联系方式: