Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) DataFrame(I) supports non-unique index values
(B) Series(II) multidimensional homogeneous data structure
(C) Pandas(III) one-dimensional labelled data structure
(D) Ndarray(IV) two-dimensional labelled heterogenous data structure

Solution

✅ Correct Option: 2
List IList II
(A) DataFrame(IV) two-dimensional labelled heterogenous data structure
(B) Series(III) one-dimensional labelled data structure
(C) Pandas(I) supports non-unique index values
(D) Ndarray(II) multidimensional homogeneous data structure

A DataFrame is a 2D table whose columns can hold different data types. A Series is a 1D labelled array. NumPy's ndarray holds elements of a single type (homogeneous) in any number of dimensions.

Pandas indexes do not have to be unique, which is why (C) matches (I). This is the least obvious pairing, so remember it by elimination once the other three are placed.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question