You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Diana Clarke (Jira)" <ji...@apache.org> on 2021/07/06 22:47:00 UTC

[jira] [Created] (ARROW-13271) [JS] DataFrame Count By - TypeError: df.countBy is not a function

Diana Clarke created ARROW-13271:
------------------------------------

             Summary: [JS] DataFrame Count By - TypeError: df.countBy is not a function
                 Key: ARROW-13271
                 URL: https://issues.apache.org/jira/browse/ARROW-13271
             Project: Apache Arrow
          Issue Type: Bug
          Components: JavaScript
            Reporter: Diana Clarke


The following benchmark fails with {{TypeError: df.countBy is not a function}}.

{code}
    b.suite(
        `DataFrame Count By`,

        ...countBys.map((column: string) => b.add(
            `dataset: ${name}, column: ${column}, length: ${formatNumber(df.length)}, type: ${df.schema.fields.find((c)=> c.name === column)!.type}`,
            () => df.countBy(column)
        )),

        b.cycle(cycle)
    );
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)