[Pandas-dev] Dataframe memory info printing

Seth P spadowitz at gmail.com
Wed Sep 24 04:02:16 CEST 2014


I would favor it defaulting to True.

On Tuesday, September 23, 2014 9:55:20 AM UTC-4, Jeff wrote:
>
> 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!
>
> thanks
>
> Jeff
>
> >>> 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/pandas-dev/attachments/20140923/f7e889e2/attachment.html>


More information about the Pandas-dev mailing list