NVIDIA / NVIDIA/cudf

[FEA] Support `Expr.struct.with_fields` in cudf_polars

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

Description

This expression is currently not supported when using cudf_polars: https://docs.pola.rs/api/python/dev/reference/expressions/api/polars.Expr.struct.with_fields.html

To support this feature:

1. This expression will need to be implemented in Polars: https://github.com/pola-rs/polars/blob/8011fa34e0c5f1270ef52e2d3b0b2946bb2faa72/crates/polars-python/src/lazyframe/visitor/expr_nodes.rs#L935
2. Then once https://github.com/rapidsai/cudf/pull/19052 is merged, implemented in `StructFunction`

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.