Saved Bookmarks
| 1. |
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 mentionedThe question was posed to me in class test.This intriguing question comes from Pandas topic in section Data Analysis with Python of Data Science |
|
Answer» The correct option is (a) SparseSeries.to_coo() |
|