CBSE Class 12 Informatics Practices Question 42 of 167

Python Pandas — I — Question 7

Back to all questions
7
Question

Question 7

To get the number of bytes of the Series data, ............... attribute is displayed.

  1. hasnans
  2. nbytes
  3. ndim
  4. dtype
Answer

nbytes

Reason — The nbytes attribute is used to know total number of bytes taken by Series object data. The syntax is <Series object>.nbytes.