Question:

Assertion (A): Pandas DataFrame can store values of multiple data types in multiple Columns.

Reason (R): DataFrames are implemented using 2D arrays, which allows only numeric values.

Show Hint

A DataFrame holds different data types in different columns, so the Assertion is true. The Reason wrongly says only numbers are allowed.
Updated On: Oct 20, 2026
  • Both (A) and (R) are True, and (R) correctly explains (A).
  • Both (A) and (R) are True, but (R) does not correctly explain (A).
  • (A) is True, but (R) is False.
  • (A) is False, but (R) is True.
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understand the question type:
We must judge two statements, the Assertion (A) and the Reason (R). Then we decide if each is true and whether R explains A.

Step 2: Check the Assertion (A):
A Pandas DataFrame is a 2D table. Each column can hold a different data type, for example integers in one column, text in another and floats in a third.
So (A) is True.

Step 3: Check the Reason (R):
R says DataFrames are built on 2D arrays that allow only numeric values. This is wrong.
A DataFrame can hold numbers, strings, dates and other objects. It is not limited to numeric values. So (R) is False.

Step 4: Pick the matching option:
(A) is True and (R) is False. This matches option (C).
Options (A) and (B) need R to be true, so they fail. Option (D) says A is false, which is not so.

Final Answer:
(A) is True, but (R) is False. This is option (C).
Was this answer helpful?
0
0