[
https://issues.apache.org/jira/browse/ARROW-7871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17189882#comment-17189882
]
Joris Van den Bossche commented on ARROW-7871:
----------------------------------------------
So still quite some not exposed:
{code:python}
import pyarrow.compute as pc
registry = pc.function_registry()
registered_functions = registry.list_functions()
exposed_functions = [f for f in dir(pc) if not (f.startswith("_") or
f[0].isupper())]
In [32]: set(exposed_functions) - set(registered_functions)
Out[32]:
{'ascii_is_digit',
'ascii_is_numeric',
'call_function',
'function_registry',
'pa'}
In [33]: set(registered_functions) - set(exposed_functions)
Out[33]:
{'add_checked',
'and',
'and_kleene',
'array_filter',
'array_take',
'ascii_is_space',
'count',
'dictionary_encode',
'divide',
'divide_checked',
'index_in',
'index_in_meta_binary',
'invert',
'is_in',
'is_in_meta_binary',
'mean',
'min_max',
'mode',
'multiply_checked',
'or',
'or_kleene',
'partition_nth_indices',
'sort_indices',
'strptime',
'subtract_checked',
'unique',
'utf8_is_space',
'value_counts',
'xor'}
{code}
> [Python] Expose more compute kernels
> ------------------------------------
>
> Key: ARROW-7871
> URL: https://issues.apache.org/jira/browse/ARROW-7871
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Krisztian Szucs
> Priority: Major
>
> Currently only the sum kernel is exposed.
> Or consider to deprecate/remove the pyarrow.compute module, and bind the
> compute kernels as methods instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)