Skip to content

Commit

Permalink
Update dataset_dict.py (#6932)
Browse files Browse the repository at this point in the history
shape returns (number of rows, number of columns)
  • Loading branch information
Arunprakash-A authored Jun 4, 2024
1 parent 1b59c75 commit cbb29ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/dataset_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cbb29ce

Please sign in to comment.