huggingface / huggingface/evaluate

`DatasetColumn` and `DatasetColumnPair` should have `__repr__()` methods defined

Open
#547 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

Currently, if you try to print a [`DatasetColumnPair`](https://github.com/huggingface/evaluate/blob/8dfe05784099fb9af55b8e77793205a3b7c86465/src/evaluate/evaluator/utils.py#L41) (say, for debugging purposes), it will just show an empty list. This causes all kind of issues with automatically raised exceptions, etc.

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.