Professional Documents
Culture Documents
3. Which of the following is used to get the number of dimensions of a Series object
(A) index (B) size
(C) itemsize (D) ndim
4. Which of the following is used to get the size of datatype of the items in Series object
(A) index (B) size
(C) itemsize (D) ndim
5. Which of the following is used to get the number of elements in a Series object
(A) index (B) size
(C) itemsize (D) ndim
6. Which of the following is used to get the number of bytes of the Series data
(A) hasnans (B) ndim
(C) nbytes (D) dtype
7. Which of the following is used to check whether a Series object has NaN values
(A) nbytes (B) hasnans
(C) dtype (D) ndim
15. Name a data structure where two–dimensional labelled array that is ordered collection of columns is used
to store heterogeneous data types.
(A) Series (B) NumPy Array \
(C) DataFrame (D) Panel
17. Which attribute of a dataframe is used to perform the transpose operation on a dataframe?
(A) T (B) Ndim
(C) Empty (D) Shape
20. Which function is used to find most often appeared values from a set of numbers?
(A) mean( ) (B) median( ) (C) mode( ) (D) None of these
22. Which among the following options can be used to create a DataFrame in Pandas?
(A) A scalar value (B) An ndarray
(C) A python dict (D) All of the above
25. All pandas data structures are __________ mutable but not always _________ mutable.
(A) size, value (B) semantic, size
(C) value, size (D) none of the mentioned
27. Which of the following object you get after reading CSV file?
(A) DataFrame
(B) Character Vector
(C) Panel
(D) All of the mentioned