[BUG] Investigate `nan` cases in cupy-based reductions
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
**Describe the bug**
In https://github.com/rapidsai/cudf/pull/19805, There seems to be pytest failures in `nan` cases for `cupy` based reduction we rely on.
```
======================================================= short test summary info =======================================================
FAILED python/cudf/cudf/tests/dataframe/methods/test_reductions.py::test_dataframe_reductions[True-cumsum-1-data0] - AssertionError: DataFrame.iloc[:, 1] (column name="y") are different
FAILED python/cudf/cudf/tests/dataframe/methods/test_reductions.py::test_dataframe_reductions[True-cumprod-1-data0] - AssertionError: DataFrame.iloc[:, 1] (column name="y") are different
FAILED python/cudf/cudf/tests/dataframe/methods/test_reductions.py::test_dataframe_reductions[True-any-1-data2] - AssertionError: Series are different
```
**Steps/Code to reproduce bug**
Follow this guide http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports to craft a minimal bug report. This helps us reproduce the issue you're having and resolve the issue more quickly.
**Expected behavior**
A clear and concise description of what you expected to happen.
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider)]
- Method of cuDF install: [conda, Docker, or from source]
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
**Environment details**
Please run and paste the output of the `cudf/print_env.sh` script here, to gather any other relevant environment details
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.