rapidsai/cudf

[FEA] Support more dtypes in JIT GroupBy `apply`

Open

#12,608 建立於 2023年1月25日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)C++ (735 fork)batch import
Pythonfeature requestgood first issuenumba

倉庫指標

Star
 (6,000 star)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 230 個 PR)

描述

Is your feature request related to a problem? Please describe. When https://github.com/rapidsai/cudf/pull/11452 lands, we'll get JIT Groupby.apply for a subset of UDFs and importantly, dtypes. However over the summer we only got as far as writing overloads for float64 and int64 dtypes in the users source data. It'd be nice if we could support more dtypes, starting at least with the rest of the numeric types.

Describe the solution you'd like Extend the existing groupby.apply, engine='jit' framework to support the following additional dtypes:

  • float32
  • int32
  • int16
  • int8
  • uint64
  • uint32
  • uint16
  • uint8
  • bool

A lot of the machinery in the original PR is fairly general and should make adding many of these easy- however there will undoubtedly be edge cases. As such it makes for a pretty good first issue for anyone jumping into the numba extension piece of the codebase.

貢獻者指南