You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/08/12 07:42:00 UTC
[jira] [Created] (ARROW-13612) [Python] Allow specifying a custom
type for converting ExtensionScalar to python object
Joris Van den Bossche created ARROW-13612:
---------------------------------------------
Summary: [Python] Allow specifying a custom type for converting ExtensionScalar to python object
Key: ARROW-13612
URL: https://issues.apache.org/jira/browse/ARROW-13612
Project: Apache Arrow
Issue Type: Test
Components: Python
Reporter: Joris Van den Bossche
As a follow-up on ARROW-13541 (https://github.com/apache/arrow/pull/10904#discussion_r686609844), we could have a mechanism that the ExtensionType can control the behaviour of {{ExtensionScalar.as_py()}} method.
Similarly as we have {{\_\_arrow_ext_class\_\_}} for using an ExtensionArray subclass for the array object, we could indeed have a way to specify a custom scalar wrapper.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)