You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/10/05 08:20:00 UTC

[jira] [Updated] (ARROW-3444) [Python] Table.nbytes attribute

     [ https://issues.apache.org/jira/browse/ARROW-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney updated ARROW-3444:
--------------------------------
    Component/s: Python

> [Python] Table.nbytes attribute
> -------------------------------
>
>                 Key: ARROW-3444
>                 URL: https://issues.apache.org/jira/browse/ARROW-3444
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Python
>            Reporter: Dave Hirschfeld
>            Priority: Minor
>             Fix For: 0.12.0
>
>
> As it says in the title, I think this would be a very handy attribute to have available in Python. You can get it by converting to pandas and using `DataFrame.nbytes` but this is wasteful of both time and memory so it would be good to have this information on the `pyarrow.Table` object itself.
> This could be implemented using the [__sizeof__|https://docs.python.org/3/library/sys.html#sys.getsizeof] protocol



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)