Question:

Match List-I with List-II
List-IList-II
(A) pip install pandas(I) one-dimensional array containing a sequence of values
(B) Numpy array(II) can have different data types
(C) Pandas DataFrame(III) requires homogeneous data
(D) Series(IV) install Pandas library
Choose the correct answer from the options given below:

Show Hint

pip install installs a library. NumPy arrays are homogeneous. DataFrame columns can differ in type. Series is one-dimensional.
Updated On: Oct 1, 2026
  • (A) - (IV), (B) - (III), (C) - (II), (D) - (I)
  • (A) - (I), (B) - (II), (C) - (III), (D) - (IV)
  • (A) - (I), (B) - (II), (C) - (IV), (D) - (III)
  • (A) - (III), (B) - (IV), (C) - (I), (D) - (II)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding the Concept:
This question tests basic facts about the pandas and NumPy libraries. We must pair each item in List-I with its correct description in List-II.

Step 2: Match each item one by one.
(A) pip install pandas is a command typed in the terminal. It downloads and installs the Pandas library. So (A) matches (IV).
(B) A NumPy array stores items of one single data type, so its data is homogeneous. So (B) matches (III).
(C) A Pandas DataFrame is a table of rows and columns. Each column can hold a different data type, such as numbers in one column and text in another. So (C) matches (II).
(D) A Series is a one-dimensional labelled array that holds a sequence of values. So (D) matches (I).
The full matching is (A)-(IV), (B)-(III), (C)-(II), (D)-(I).

Step 3: Check option 1.
It says (A)-(IV), (B)-(III), (C)-(II), (D)-(I). This is exactly our matching. So option 1 is correct.

Step 4: Check option 2.
It pairs (A) with (I). But an install command is not an array of values. So option 2 is wrong.

Step 5: Check option 3.
It pairs (A) with (I) and (B) with (II). A NumPy array cannot hold mixed types, and an install command is not an array. So option 3 is wrong.

Step 6: Check option 4.
It pairs (A) with (III) and (B) with (IV). The install command does not need homogeneous data, and a NumPy array is not an install command. So option 4 is wrong.

Step 7: Final Answer:
The correct matching is (A)-(IV), (B)-(III), (C)-(II), (D)-(I), which is option 1. \[ \boxed{(A)-(IV),\ (B)-(III),\ (C)-(II),\ (D)-(I)} \]
Was this answer helpful?
0
0