NVIDIA / NVIDIA/cudf

[BUG] DataFrame.groupby.describe differs between cudf and pandas

Open
#12,263 1 comment 0 reactions 0 assignees View on GitHub
0 - Backlog bug Python
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Describe the bug**
```
>>> import pandas as pd
>>> import cudf
>>> cudf.__version__
'22.12.00a+281.gcc4b4dd27c'
>>> data = {'a': ['b'], 'p': ['q'], 'n': [0]}
>>> pd.DataFrame(data).groupby('a').describe()
n
count mean std min 25% 50% 75% max
a
b 1.0 0.0 NaN 0.0 0.0 0.0 0.0 0.0
>>> cudf.DataFrame(data).groupby('a').describe()
p n
count min max count mean std min 25% 50% 75% max
a
b 1 q q 1 0.0 0 0.0 0.0 0.0 0
```

**Environment overview (please complete the following information)**
rapidsai/rapidsai-nightly:22.12-cuda11.5-runtime-rockylinux8-py3.9 on 29 nov 2022

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.