Skip to content

Commit cbb29ce

Browse files
Update dataset_dict.py (#6932)
shape returns (number of rows, number of columns)
1 parent 1b59c75 commit cbb29ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datasets/dataset_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def column_names(self) -> Dict[str, List[str]]:
169169

170170
@property
171171
def shape(self) -> Dict[str, Tuple[int]]:
172-
"""Shape of each split of the dataset (number of columns, number of rows).
172+
"""Shape of each split of the dataset (number of rows, number of columns).
173173
174174
Example:
175175

0 commit comments

Comments
 (0)