Informatics Practices

Which attribute of dataframe is used to retrieve its shape?

  1. T
  2. Ndim
  3. Empty
  4. Shape

Python Data Handling

1 Like

Answer

Shape

Reason — The shape attribute is used to retrieve DataFrame's shape.

Answered By

1 Like


Related Questions