NVIDIA / NVIDIA/cudf

[FEA] Perform slice in drop_nulls if cudf_polars Column `is_sorted`

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

Description

(Identified by Claude)

If the input `Column.is_sorted` and `Column.null_count > 0`, it may be more performant just to slice off the `null_count` number of rows depending the `Column.null_order`

https://github.com/rapidsai/cudf/blob/01c7adae10d12da7a175fb616300f8190522b6e0/python/cudf_polars/cudf_polars/dsl/expressions/unary.py#L338-L341

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.