Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Add Hugging Face Hub access #60608

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions doc/source/getting_started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,16 +324,17 @@ Dependency Minimum Version pip ex
Access data in the cloud
^^^^^^^^^^^^^^^^^^^^^^^^

Installable with ``pip install "pandas[fss, aws, gcp]"``

============================================ ================== =============== ==========================================================
Dependency Minimum Version pip extra Notes
============================================ ================== =============== ==========================================================
`fsspec <https://github.com/fsspec>`__ 2022.11.0 fss, gcp, aws Handling files aside from simple local and HTTP (required
dependency of s3fs, gcsfs).
`gcsfs <https://github.com/fsspec/gcsfs>`__ 2022.11.0 gcp Google Cloud Storage access
`s3fs <https://github.com/fsspec/s3fs>`__ 2022.11.0 aws Amazon S3 access
============================================ ================== =============== ==========================================================
Installable with ``pip install "pandas[fss, aws, gcp, hf]"``

===================================================================== ================== =============== ==========================================================
Dependency Minimum Version pip extra Notes
===================================================================== ================== =============== ==========================================================
`fsspec <https://github.com/fsspec>`__ 2022.11.0 fss, gcp, aws Handling files aside from simple local and HTTP (required
dependency of s3fs, gcsfs).
`gcsfs <https://github.com/fsspec/gcsfs>`__ 2022.11.0 gcp Google Cloud Storage access
`s3fs <https://github.com/fsspec/s3fs>`__ 2022.11.0 aws Amazon S3 access
`huggingface-hub <https://github.com/huggingface/huggingface_hub>`__ 0.27.0 hf Hugging Face Hub access
===================================================================== ================== =============== ==========================================================

Clipboard
^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ of header key value mappings to the ``storage_options`` keyword argument as show

All URLs which are not local files or HTTP(s) are handled by
`fsspec`_, if installed, and its various filesystem implementations
(including Amazon S3, Google Cloud, SSH, FTP, webHDFS...).
(including Amazon S3, Google Cloud, Hugging Face, SSH, FTP, webHDFS...).
Some of these implementations will require additional packages to be
installed, for example
S3 URLs require the `s3fs
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ computation = ['scipy>=1.10.0', 'xarray>=2022.12.0']
fss = ['fsspec>=2022.11.0']
aws = ['s3fs>=2022.11.0']
gcp = ['gcsfs>=2022.11.0']
hf = ['huggingface-hub>=0.27.0']
excel = ['odfpy>=1.4.1', 'openpyxl>=3.1.0', 'python-calamine>=0.1.7', 'pyxlsb>=1.0.10', 'xlrd>=2.0.1', 'xlsxwriter>=3.0.5']
parquet = ['pyarrow>=10.0.1']
feather = ['pyarrow>=10.0.1']
Expand Down
Loading