NVIDIA / NVIDIA/cudf

[FEA] support tuple construction in apply with axis=1

Open
#12,414 0 comments 0 reactions 0 assignees View on GitHub
feature request Python
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Is your feature request related to a problem? Please describe.**
rewriting code with `import cudf as pd`

**Describe the solution you'd like**
```
>>> import cudf as pd
>>> df = pd.DataFrame({'a': range(10, 20), 'b': range(110, 120)})
>>> pd.__version__
'22.12.01'

>>> df.apply(lambda row: (row[0], row[1]), axis=1)
...
numba.core.errors.NumbaNotImplementedError: UniTuple(Masked(int64) x 2) cannot be represented as a NumPy dtype
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.