Informatics Practices

What do these attributes of series signify ?

(i) size

(ii) itemsize

(iii) nbytes

Python Pandas

2 Likes

Answer

(i) size — It returns the number of elements in the underlying data.

(ii) itemsize — It returns the size of the dtype of the item of the underlying data.

(iii) nbytes — It returns the number of bytes in the underlying data.

Answered By

1 Like


Related Questions