Informatics Practices

Which attribute of dataframe is used to get number of axes?

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

Python Data Handling

2 Likes

Answer

Ndim

Reason — The ndim attribute of dataframe is used to get number of axes/array dimensions.

Answered By

2 Likes


Related Questions