Home / CSE MCQs / Data Science Basics and Toolbox MCQs :: Discussion

Discussion :: Data Science Basics and Toolbox MCQs

  1. Which of the following method is used for transforming a SparseSeries indexed by a MultiIndex to a scipy.sparse.coo_matrix ?
  2. A.
    SparseSeries.to_coo()
    B.
    Series.to_coo()
    C.
    SparseSeries.to_cooser()
    D.
    None of the Mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment