pandas.api.extensions.ExtensionArray.nbytes#

property ExtensionArray.nbytes[source]#

The number of bytes needed to store this object in memory.

See also

ExtensionArray.shape

Return a tuple of the array dimensions.

ExtensionArray.size

The number of elements in the array.

Examples

>>> pd.array([1, 2, 3]).nbytes
27