pandas.api.extensions.ExtensionArray.nbytes#
- property ExtensionArray.nbytes[source]#
The number of bytes needed to store this object in memory.
If computing this is expensive, implementations may return an approximate lower bound on the number of bytes needed.
See also
ExtensionArray.shapeReturn a tuple of the array dimensions.
ExtensionArray.sizeThe number of elements in the array.
Examples
>>> pd.array([1, 2, 3]).nbytes 27