[Numpy-discussion] Dataframe memory info printing

Jeff Reback jeffreback at gmail.com
Tue Sep 23 09:55:16 EDT 2014

For the 0.15.0 release of pandas (coming 2nd week of oct), we are going to
include memory info printing:

see here: https://github.com/pydata/pandas/pull/7619

This will be controllable by an option display.memory_usage.

My question to the community should this be by default True, e.g. show the
memory usage (this only applies to using df.info())
There is really no performance impact here.

Pls let us know!



>>> df.info(memory_usage=True)<class 'pandas.core.frame.DataFrame'>Int64Index: 10000000 entries, 0 to 9999999Data columns (total 5 columns):date        datetime64[ns]float       float64int         int64smallint    int16string      objectdtypes: datetime64[ns](1), float64(1), int16(1), int64(1), object(1)memory usage: 324.2 MB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140923/cd8d2385/attachment.html>

More information about the NumPy-Discussion mailing list