[
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)