a) True b) False Answer: a Explanation: This happens in an if or when using the boolean ...
View QuestionWhich of the following indexing capabilities is used as a concise means of selecting data from a pandas object?
a) In b) ix c) ipy d) none of the mentioned Answer: b Explanation: ix and reindex ...
View QuestionWhich of the following is used for testing for membership in the list of column names?
a) in b) out c) elseif d) none of the mentioned Answer: a Explanation: For DataFrames, likewise, ...
View QuestionThe integer format tracks only the locations and sizes of blocks of data.
a) True b) False Answer: b Explanation: The block format tracks only the locations and sizes of ...
View QuestionWhich 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: a Explanation: Experimental api to ...
View QuestionPoint out the wrong statement.
a) to_array. append can accept scalar values or any 2-dimensional sequence b) Two kinds of SparseIndex are implemented
View QuestionWhich of the following list-like data structure is used for managing a dynamic collection of SparseArrays?
a) SparseList b) GeoList c) SparseSeries d) All of the mentioned Answer: a Explanation: To create one, ...
View QuestionWhich of the following is not an indexed object?
a) SparseSeries b) SparseDataFrame c) SparsePanel d) None of the mentioned Answer: d Explanation: SparseArray can be ...
View QuestionPoint out the correct statement.
a) All of the standard pandas data structures have a to_sparse method b) Any sparse object can be ...
View QuestionWhich of the following is the base layer for all of the sparse indexed data structures?
a) SArray b) SparseArray c) PyArray d) None of the mentioned Answer: b Explanation: SparseArray is a ...
View Question