KnowledgeBoat Logo
|

Informatics Practices

To get the number of elements in a dataframe, …………… attribute may be used.

  1. size
  2. shape
  3. values
  4. ndim

Python Pandas

1 Like

Answer

size

Reason — The size attribute will return an integer representing the number of elements in a DataFrame object.

Answered By

3 Likes


Related Questions