You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yibo Cai (Jira)" <ji...@apache.org> on 2021/04/30 14:07:00 UTC
[jira] [Commented] (ARROW-12606) Quantile function failing on list
scalars.
[ https://issues.apache.org/jira/browse/ARROW-12606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337414#comment-17337414 ]
Yibo Cai commented on ARROW-12606:
----------------------------------
Will have a look.
> Quantile function failing on list scalars.
> ------------------------------------------
>
> Key: ARROW-12606
> URL: https://issues.apache.org/jira/browse/ARROW-12606
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Affects Versions: 4.0.0
> Environment: macOS, ubuntu
> Reporter: A. Coady
> Assignee: Yibo Cai
> Priority: Major
>
> Sounds unrelated, but it's the simplest example I've gotten to reproduce.
>
> {code:java}
> import pyarrow as pa, pyarrow.compute as pc
> array = pa.array([[0], [1]])
> first, second = [pc.quantile(scalar.values) for scalar in array]
> assert first.to_pylist() == [0]
> assert (second.to_pylist() == [1]), second # 7.20576e+16{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)