[FEA] Create `assert_*_equals_to_pandas(left: cudf object, right: pandas object, ...)` testing function
Open
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.**
xref https://github.com/rapidsai/cudf/issues/16302 point 3
To facilitate stronger testing assertions over using the flexible `assert_eq`, it would be good to have
* `assert_index_equals_to_pandas`
* `assert_series_equals_to_pandas`
* `assert_frame_equals_to_pandas`
functions to specifically to assert that a cuDF result is equal to a pandas result, which is a common assertion we make in the cuDF classic test suite
Contributor guide
Assessment
This issue has not been assessed yet.