From cbb29cea0e21dc0eb8f7de01d0c6ed5718d6ce4e Mon Sep 17 00:00:00 2001 From: Arun Prakash A Date: Tue, 4 Jun 2024 18:20:13 +0530 Subject: [PATCH] Update dataset_dict.py (#6932) shape returns (number of rows, number of columns) --- src/datasets/dataset_dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datasets/dataset_dict.py b/src/datasets/dataset_dict.py index 0ddbbb21648..9e3e8543b77 100644 --- a/src/datasets/dataset_dict.py +++ b/src/datasets/dataset_dict.py @@ -169,7 +169,7 @@ def column_names(self) -> Dict[str, List[str]]: @property def shape(self) -> Dict[str, Tuple[int]]: - """Shape of each split of the dataset (number of columns, number of rows). + """Shape of each split of the dataset (number of rows, number of columns). Example: