You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/09/14 17:23:00 UTC
[jira] [Resolved] (ARROW-9465) [Python] Improve ergonomics of
compute functions
[ https://issues.apache.org/jira/browse/ARROW-9465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-9465.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 8163
[https://github.com/apache/arrow/pull/8163]
> [Python] Improve ergonomics of compute functions
> ------------------------------------------------
>
> Key: ARROW-9465
> URL: https://issues.apache.org/jira/browse/ARROW-9465
> Project: Apache Arrow
> Issue Type: Wish
> Components: Python
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Introspection of exported compute functions currently yield suboptimal output:
> {code:python}
> >>> from pyarrow import compute as pc
> >>> pc.list_flatten
> <function pyarrow.compute._simple_unary_function.<locals>.func(arg)>
> >>> ?pc.list_flatten
> Signature: pc.list_flatten(arg)
> Docstring: <no docstring>
> File: ~/arrow/dev/python/pyarrow/compute.py
> Type: function
> >>> help(pc.list_flatten)
> Help on function func in module pyarrow.compute:
> func(arg)
> {code}
> The function should ideally have:
> * the right global name
> * an appropriate signature
> * a docstring
--
This message was sent by Atlassian Jira
(v8.3.4#803005)