[BUG] Error when printing large CategoricalIndex
Open
bug
Python
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
Printing a `CategoricalIndex` with more than 200 elements results in the following error:
```
TypeError: Cannot interpret 'interval[float64, right]' as a data type
```
Reproducer
```
import cudf
import cupy
p = cudf.cut(cupy.arange(201), 3)
# this works
print(p[:200])
# this doesn't
print(p)
```
with cudf version 23.04.01 and cupy version 11.6.0
Contributor guide
Assessment
This issue has not been assessed yet.