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/11/12 12:07:00 UTC
[jira] [Resolved] (ARROW-3444) [Python] Table.nbytes attribute
[ https://issues.apache.org/jira/browse/ARROW-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-3444.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 5793
[https://github.com/apache/arrow/pull/5793]
> [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
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)