You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/23 15:03:00 UTC

[jira] [Commented] (ARROW-2074) [Python] Allow type inference for struct arrays

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

ASF GitHub Bot commented on ARROW-2074:
---------------------------------------

pitrou opened a new pull request #1935: ARROW-2074: [Python] Infer lists of dicts as struct arrays
URL: https://github.com/apache/arrow/pull/1935
 
 
   Also refactor the type inference visitor and remove the superfluous separate SeqVisitor.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> [Python] Allow type inference for struct arrays
> -----------------------------------------------
>
>                 Key: ARROW-2074
>                 URL: https://issues.apache.org/jira/browse/ARROW-2074
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Minor
>              Labels: pull-request-available
>
> Support inferring a struct type in a {{pa.array}} call, if a sequence of dicts (or dict of sequences?= is given. Of course, this could mean that the wrong field order may be inferred, though on Python 3.6+ dicts retain ordering until the first deletion.



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