You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2019/11/08 10:52:01 UTC

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

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

Joris Van den Bossche reassigned ARROW-3444:
--------------------------------------------

    Assignee: Joris Van den Bossche

> [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
>            Assignee: Joris Van den Bossche
>            Priority: Minor
>             Fix For: 1.0.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
(v8.3.4#803005)