You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/03/12 16:04:00 UTC
[jira] [Commented] (ARROW-8079) [Python] Implement a wrapper for
KeyValueMetadata, duck-typing dict where relevant
[ https://issues.apache.org/jira/browse/ARROW-8079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058040#comment-17058040 ]
Antoine Pitrou commented on ARROW-8079:
---------------------------------------
Returning a dict in the common case has a virtue, though, because it's a well-known type that everybody knows to handle.
> [Python] Implement a wrapper for KeyValueMetadata, duck-typing dict where relevant
> ----------------------------------------------------------------------------------
>
> Key: ARROW-8079
> URL: https://issues.apache.org/jira/browse/ARROW-8079
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.17.0
>
>
> Per mailing list discussion, it may be better to not return the metadata always as a dict and instead wrap the KeyValueMetadata methods. We can make {{__getitem__}} lookup a key in it of course
--
This message was sent by Atlassian Jira
(v8.3.4#803005)