[ 
https://issues.apache.org/jira/browse/ARROW-13271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diana Clarke resolved ARROW-13271.
----------------------------------
      Assignee: Diana Clarke
    Resolution: Duplicate

Fixed in ARROW-13275

> [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
>            Assignee: Diana Clarke
>            Priority: Minor
>
> 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)

Reply via email to