def memory_usage(self, deep=False):
if hasattr(self.array, '<STR_LIT>'):<EOL><INDENT>return self.array.memory_usage(deep=deep)<EOL><DEDENT>v = self.array.nbytes<EOL>if deep and is_object_dtype(self) and not PYPY:<EOL><INDENT>v += lib.memory_usage_of_objects(self.array)<EOL><DEDENT>return v<EOL>
Memory usage of the values

Parameters
----------
deep : bool
    Introspect the data deeply, interrogate
    `object` dtypes for system-level memory consumption

Returns
-------
bytes used

See Also
--------
numpy.ndarray.nbytes

Notes
-----
Memory usage does not include memory consumed by elements that
are not components of the array if deep=False or if used on PyPy