KnowledgeBoat Logo
|

Informatics Practices

Assertion. A dataframe is a 2D data structure which is value mutable and size mutable.

Reason. Every change in a dataframe internally creates a new dataframe object.

  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.

Python Pandas

3 Likes

Answer

A is true but R is false.

Explanation
A DataFrame is a two-dimensional data structure that is both value-mutable and size-mutable. This means that we can modify the values within a DataFrame, change its size once it's created, and add or drop elements in an existing DataFrame object without creating a new DataFrame internally.

Answered By

1 Like


Related Questions