[Pandas-dev] [pydata] Re: Dataframe memory info printing

Ivan Ogassawara ivan.ogassawara at gmail.com
Wed Sep 24 13:46:43 CEST 2014


me too!

2014-09-24 5:22 GMT-03:00 Wouter Overmeire <lodagro at gmail.com>:

>
>
> 2014-09-24 4:02 GMT+02:00 Seth P <spadowitz at gmail.com>:
>
>> I would favor it defaulting to True.
>>
>
> me too
>
>
>>
>>
>> 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
>>>
>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "PyData" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to pydata+unsubscribe at googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "PyData" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pydata+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pandas-dev/attachments/20140924/7bcbf714/attachment.html>


More information about the Pandas-dev mailing list