CBSE Class 12 Informatics Practices Question 1 of 44

Data Handling using Pandas — Question 2

Back to all questions
2
Question

Question 2

Assertion (A): A series stores data row-wise.

Reasoning (R): A series is a one-dimensional labelled data structure.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.
Answer

A is false but R is true.

Explanation
A series in pandas does not store data row-wise. It is a one-dimensional array like object containing an array of data and an associated array of data labels, called its index.