Site Navigation
Return the number of bytes in the underlying data.
Examples
For Series:
>>>s=pd.Series(['Ant','Bear','Cow'])>>>s0 Ant1 Bear2 Cowdtype: object>>>s.nbytes24
For Index:
>>>idx=pd.Index([1,2,3])>>>idxIndex([1, 2, 3], dtype='int64')>>>idx.nbytes24
Series.nbytes