You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Alessandro Molina (Jira)" <ji...@apache.org> on 2021/09/01 13:46:00 UTC
[jira] [Commented] (ARROW-13835) [Python] Add utility to unify
schemas
[ https://issues.apache.org/jira/browse/ARROW-13835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408184#comment-17408184 ]
Alessandro Molina commented on ARROW-13835:
-------------------------------------------
It seems we do have the function in Python
{code}
>>> pa.unify_schemas
<built-in function unify_schemas>
{code}
but it's not documented
> [Python] Add utility to unify schemas
> -------------------------------------
>
> Key: ARROW-13835
> URL: https://issues.apache.org/jira/browse/ARROW-13835
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 5.0.0
> Reporter: Alessandro Molina
> Assignee: Alessandro Molina
> Priority: Major
>
> In R we have the {{unify_schemas}} utility which allows to merge two or more schemas, in Python such feature would be helpful but we don't seem to provide it.
> Such feature already exists in C++ ( https://github.com/apache/arrow/blob/27affa3181708c4f800f9d0a70603fb3390d6462/cpp/src/arrow/type.cc#L1722-L1744 ) and should be exposed in PyArrow and documented under https://arrow.apache.org/docs/python/api/datatypes.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)