You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Robert Nishihara (JIRA)" <ji...@apache.org> on 2018/04/21 22:57:00 UTC
[jira] [Resolved] (ARROW-2264) [Python] Efficiently serialize numpy
arrays with dtype of unicode fixed length string
[ https://issues.apache.org/jira/browse/ARROW-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Nishihara resolved ARROW-2264.
-------------------------------------
Resolution: Fixed
> [Python] Efficiently serialize numpy arrays with dtype of unicode fixed length string
> -------------------------------------------------------------------------------------
>
> Key: ARROW-2264
> URL: https://issues.apache.org/jira/browse/ARROW-2264
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.8.0
> Reporter: Mitar
> Assignee: Robert Nishihara
> Priority: Major
>
> Looking at the numpy array serialization code it seems that if I have a dtype like "<U3" this will go through custom ndarray serializer and not through an efficient one.
> {{Example:}}{{>>> np.array(['aaa', 'bbb'])}}
> {{array(['aaa', 'bbb'], dtype='<U3')}}
> This should be able to work, no? It has fixed offsets and memory layout.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)