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

[jira] [Created] (ARROW-1689) [Python] Categorical Indices Should Be Zero-Copy

Nick White created ARROW-1689:
---------------------------------

             Summary: [Python] Categorical Indices Should Be Zero-Copy
                 Key: ARROW-1689
                 URL: https://issues.apache.org/jira/browse/ARROW-1689
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
    Affects Versions: 0.7.1
            Reporter: Nick White


It seems like [WriteIndices|https://github.com/apache/arrow/blob/0c8b861f93884f2868eb631d8fceee3a8b8905ec/cpp/src/arrow/python/arrow_to_pandas.cc#L955-L981] could reuse some of the logic in [ConvertValuesZeroCopy|https://github.com/apache/arrow/blob/0c8b861f93884f2868eb631d8fceee3a8b8905ec/cpp/src/arrow/python/arrow_to_pandas.cc#L1348-L1385] to avoid copying the integer indices array?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)