Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Series.nbytes#

propertySeries.nbytes[source]#

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

[8]ページ先頭

©2009-2025 Movatter.jp