NVIDIA / NVIDIA/cudf

[FEA] Support ``axis=0`` argument in ``clip``

Open
#14,369 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.**
cuDF [does not currently support the axis argument in clip](https://github.com/rapidsai/cudf/blame/16051a718509c218010e6912d6f8e0fca7a7aa24/python/cudf/cudf/core/indexed_frame.py#L947). When trying to use `axis=0` to align a `Series` of lower/upper values, the following error message is provided:

```
NotImplementedError: `axis is not yet supported in clip`
```

**Additional context**
I have no reason to believe that `axis=0` is a high priority. However, I'm raising this issue for tracking purposes.
Feel free to close if there is already a duplicate issue for (a quick search came up empty).

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.