git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3911) [Python] Deduplicate datetime.date objects in Table.to_pandas internals


Wes McKinney created ARROW-3911:
-----------------------------------

             Summary: [Python] Deduplicate datetime.date objects in Table.to_pandas internals
                 Key: ARROW-3911
                 URL: https://issues.apache.org/jira/browse/ARROW-3911
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Wes McKinney
             Fix For: 0.12.0


https://github.com/apache/arrow/blob/master/cpp/src/arrow/python/arrow_to_pandas.cc#L631

In Python 3, {{datetime.date}} objects are 32-bytes in addition to the {{PyObject*}}. So when there are many repeated dates, this will save a lot of memory in large DataFrame objects



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)