You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/06/29 14:47:01 UTC
[jira] [Updated] (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 ]
Wes McKinney updated ARROW-2264:
--------------------------------
Fix Version/s: 0.10.0
> [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
> Fix For: 0.10.0
>
>
> 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)