[ https://issues.apache.org/jira/browse/ARROW-15065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459020#comment-17459020 ]
Joris Van den Bossche edited comment on ARROW-15065 at 12/14/21, 9:50 AM: -------------------------------------------------------------------------- It's indeed a backwards incompatible change for {{nbytes}} in Python, but I think we can consider it as a "bug" that right now it doesn't return the actual bytes for the data represented by the array (but the bytes of the full buffer). was (Author: jorisvandenbossche): It's indeed a backwards incompatible change for "nbytes" in Python, but I think we can consider it as a "bug" that right now it doesn't return the actual bytes for the data represented by the array (but the bytes of the full buffer). > [Python][R] Expose ReferencedBufferSize to python/R > --------------------------------------------------- > > Key: ARROW-15065 > URL: https://issues.apache.org/jira/browse/ARROW-15065 > Project: Apache Arrow > Issue Type: Improvement > Components: Python, R > Reporter: Weston Pace > Priority: Major > Labels: good-first-issue > > This could be a method on arrays, chunked arrays, record batches, and tables. > This method takes array offsets into account. > We should probably add this alongside the existing nbytes field with clear > commenting about the difference between the two of them. Both can be useful > depending on the need. -- This message was sent by Atlassian Jira (v8.20.1#820001)