[ 
https://issues.apache.org/jira/browse/ARROW-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659291#comment-17659291
 ] 

Rok Mihevc commented on ARROW-2264:
-----------------------------------

This issue has been migrated to [issue 
#18222|https://github.com/apache/arrow/issues/18222] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [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
(v8.20.10#820010)

Reply via email to