Que: Which of the following method is used for transforming a SparseSeries indexed by a MultiIndex to a scipy.sparse.coo_matrix?

a. SparseSeries.to_coo()
b. Series.to_coo()
c. SparseSeries.to_cooser()
d. None of the mentioned
Answer: SparseSeries.to_coo()

Leave a Comment