Sail E0 Webinar
Question
Which of the following method is used for transforming a SparseSeries indexed by a MultiIndex to a scipy.sparse.coo_matrix ?
Options:
A .  SparseSeries.to_coo()
B .  Series.to_coo()
C .  SparseSeries.to_cooser()
D .  None of the Mentioned
Answer: Option A


Experimental api to transform between sparse pandas and scipy.sparse structures.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers