Support pathlib.Path for feature input by Joshua-Chin · Pull Request #7755 · huggingface/datasets
Navigation Menu
{{ message }}
huggingface / datasets Public
- Notifications You must be signed in to change notification settings
- Fork 3.1k
Merged
lhoestq merged 2 commits intohuggingface:mainfrom
Sep 10, 2025Merged
Support pathlib.Path for feature input#7755
lhoestq merged 2 commits intohuggingface:mainfrom
Support pathlib.Path for feature input#7755
lhoestq merged 2 commits intohuggingface:mainfrom
Conversation
Copy link
Contributor
Joshua-Chin
commented
Sep 5, 2025
Joshua-Chin
commented
This PR adds support for specifying image, video, audio, and pdf features using pathlib.Path.
Copy link
HuggingFaceDocBuilderDev
commented
Sep 10, 2025
HuggingFaceDocBuilderDev commented
Sep 10, 2025The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
lhoestq approved these changes Sep 10, 2025
Copy link
Member
lhoestq
left a comment
lhoestq
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome ! I just did a minor fix
src/datasets/features/pdf.py
Outdated
Show resolved
Hide resolved
src/datasets/features/pdf.py Outdated Show resolved Hide resolved
src/datasets/features/video.py
Outdated
Show resolved
Hide resolved
src/datasets/features/video.py Outdated Show resolved Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment