CBSE Class 12 Informatics Practices
Question 2 of 44
Data Handling using Pandas — Question 3
Back to all questions 3
Question Assertion (A): Dataframe has both a row and column index.
Reasoning (R): Dataframe is a two-dimensional labelled data structure like a table of MySQL.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Both A and R are true and R is the correct explanation of A.
Explanation
A DataFrame in Pandas has both a row index and a column index. It is a two-dimensional labeled data structure, similar to a table in MySQL, each value is identifiable with the combination of row and column indices.