Skip to content

Commit

Permalink
Update hf_file_system.md (#2616)
Browse files Browse the repository at this point in the history
Co-authored-by: Celina Hanouti <[email protected]>
  • Loading branch information
SwayStar123 and hanouticelina authored Oct 23, 2024
1 parent 41b7aaf commit aca9aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/guides/hf_file_system.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ In addition to the [`HfApi`], the `huggingface_hub` library provides [`HfFileSys
['datasets/my-username/my-dataset-repo/data/train.csv', 'datasets/my-username/my-dataset-repo/data/test.csv']

>>> # List all ".csv" files in a repo
>>> fs.glob("datasets/my-username/my-dataset-repo/**.csv")
>>> fs.glob("datasets/my-username/my-dataset-repo/**/*.csv")
['datasets/my-username/my-dataset-repo/data/train.csv', 'datasets/my-username/my-dataset-repo/data/test.csv']

>>> # Read a remote file
Expand Down

0 comments on commit aca9aec

Please sign in to comment.