Informatics Practices

To get the size of the datatype of the items in Series object, you can display …………… attribute.

  1. index
  2. size
  3. itemsize
  4. ndim

Python Pandas

65 Likes

Answer

itemsize

Reason — The itemsize attribute is used to know the number of bytes allocated to each data item in Series object. The syntax is <Series object>.itemsize.

Answered By

1 Like


Related Questions