You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/18 16:05:00 UTC

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

    [ https://issues.apache.org/jira/browse/ARROW-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932597#comment-16932597 ] 

Antoine Pitrou commented on ARROW-3444:
---------------------------------------

Feel free to submit a PR for this :-)

> [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: 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)