url stringlengths 61 61 | repository_url stringclasses 1
value | labels_url stringlengths 75 75 | comments_url stringlengths 70 70 | events_url stringlengths 68 68 | html_url stringlengths 49 51 | id int64 1.1B 5.46B | node_id stringlengths 18 25 | number int64 3.55k 8.62k | title stringlengths 1 290 | user dict | labels listlengths 0 4 | state stringclasses 2
values | locked bool 1
class | assignees listlengths 0 4 | milestone dict | comments int64 0 49 | created_at timestamp[ms]date 2022-01-10 10:32:04 2026-09-14 22:10:44 | updated_at timestamp[ms]date 2022-01-11 14:16:47 2026-09-15 02:20:24 | closed_at timestamp[ms]date 2022-01-11 14:16:47 2026-09-14 22:11:06 ⌀ | assignee dict | author_association stringclasses 4
values | issue_field_values listlengths 0 0 | type null | active_lock_reason null | draft bool 2
classes | pull_request dict | body stringlengths 1 58.6k ⌀ | closed_by dict | reactions dict | timeline_url stringlengths 70 70 | performed_via_github_app null | state_reason stringclasses 4
values | sub_issues_summary dict | issue_dependencies_summary dict | pinned_comment null | is_pull_request bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/8521 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8521/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8521/comments | https://api.github.com/repos/huggingface/datasets/issues/8521/events | https://github.com/huggingface/datasets/pull/8521 | 5,274,959,271 | PR_kwDODunzps8AAAABBS9mvQ | 8,521 | fix(json): defensively recover invalid Arrow tables in JSON loader (#5531) | {
"login": "FinalSunFlower",
"id": 187966628,
"node_id": "U_kgDOCzQkpA",
"avatar_url": "https://avatars.githubusercontent.com/u/187966628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FinalSunFlower",
"html_url": "https://github.com/FinalSunFlower",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 0 | 2026-08-28T05:18:05 | 2026-08-28T05:19:53 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8521",
"html_url": "https://github.com/huggingface/datasets/pull/8521",
"diff_url": "https://github.com/huggingface/datasets/pull/8521.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8521.patch",
"merged_at": null
} | ## What does this PR do?
Adds defensive validation and recovery for malformed nested Arrow arrays returned by pyarrow.json.read_json().
When a batch produces invalid nested offsets, the JSON loader reparses only that batch row by row with pa.Table.from_pylist(), concatenates the rows while preserving late-arrivin... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8521/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8520 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8520/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8520/comments | https://api.github.com/repos/huggingface/datasets/issues/8520/events | https://github.com/huggingface/datasets/pull/8520 | 5,262,461,566 | PR_kwDODunzps8AAAABBJERrg | 8,520 | Take the image dtype from Arrow storage in Image.cast_storage | {
"login": "Kayvan-Zahiri",
"id": 123409429,
"node_id": "U_kgDOB1sUFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/123409429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kayvan-Zahiri",
"html_url": "https://github.com/Kayvan-Zahiri",
"followers_url": "https://api.github.com/... | [] | open | false | [] | null | 1 | 2026-08-26T23:57:46 | 2026-08-28T19:21:36 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8520",
"html_url": "https://github.com/huggingface/datasets/pull/8520",
"diff_url": "https://github.com/huggingface/datasets/pull/8520.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8520.patch",
"merged_at": null
} | Closes #8511.
`storage.to_pylist()` materializes the values as plain Python `int`s, which drops the Arrow value type. `np.array(arr)` on nested lists of Python ints then defaults to `int64`, and `encode_np_array` warns about a downcast to `uint8` that the storage never needed:
```python
arr = np.random.randint(0, 256... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8520/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8519 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8519/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8519/comments | https://api.github.com/repos/huggingface/datasets/issues/8519/events | https://github.com/huggingface/datasets/pull/8519 | 5,262,217,352 | PR_kwDODunzps8AAAABBI4BwQ | 8,519 | Return numpy scalars from numpy formatting and keep duration dtypes | {
"login": "Kayvan-Zahiri",
"id": 123409429,
"node_id": "U_kgDOB1sUFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/123409429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kayvan-Zahiri",
"html_url": "https://github.com/Kayvan-Zahiri",
"followers_url": "https://api.github.com/... | [] | open | false | [] | null | 1 | 2026-08-26T23:10:14 | 2026-08-29T01:00:38 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8519",
"html_url": "https://github.com/huggingface/datasets/pull/8519",
"diff_url": "https://github.com/huggingface/datasets/pull/8519.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8519.patch",
"merged_at": null
} | Closes #8500.
Two problems in `NumpyFormatter`, both falling out of numpy's type hierarchy.
**Scalars.** `np.bool_` and `np.datetime64` are not `np.number`, so `_tensorize`
did not early-return them and `_recursive_tensorize` ran them through
`__array__` first. Row access handed back 0-d `ndarray`s, which are unhasha... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8519/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8518 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8518/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8518/comments | https://api.github.com/repos/huggingface/datasets/issues/8518/events | https://github.com/huggingface/datasets/pull/8518 | 5,262,172,463 | PR_kwDODunzps8AAAABBI1yLw | 8,518 | Validate features when a cast only changes schema metadata | {
"login": "Kayvan-Zahiri",
"id": 123409429,
"node_id": "U_kgDOB1sUFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/123409429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kayvan-Zahiri",
"html_url": "https://github.com/Kayvan-Zahiri",
"followers_url": "https://api.github.com/... | [] | open | false | [] | null | 2 | 2026-08-26T23:01:48 | 2026-08-30T01:04:58 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8518",
"html_url": "https://github.com/huggingface/datasets/pull/8518",
"diff_url": "https://github.com/huggingface/datasets/pull/8518.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8518.patch",
"merged_at": null
} | Closes #8494.
`pa.Schema.__eq__` ignores metadata, so casting int64 storage to a `ClassLabel`
leaves the arrow schema equal and `table_cast` took the
`replace_schema_metadata` branch. That skips `cast_array_to_feature`, and with
it the range check in `ClassLabel.cast_storage`, so an out-of-range label index
was kept a... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8518/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8517 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8517/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8517/comments | https://api.github.com/repos/huggingface/datasets/issues/8517/events | https://github.com/huggingface/datasets/pull/8517 | 5,253,461,612 | PR_kwDODunzps8AAAABBB5iuA | 8,517 | fix(tsfile): version-aware guard for the optional Apache TsFile SDK | {
"login": "AxelNoun",
"id": 150222552,
"node_id": "U_kgDOCPQ22A",
"avatar_url": "https://avatars.githubusercontent.com/u/150222552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AxelNoun",
"html_url": "https://github.com/AxelNoun",
"followers_url": "https://api.github.com/users/AxelNoun/... | [] | open | false | [] | null | 0 | 2026-08-26T04:51:16 | 2026-08-26T04:51:16 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8517",
"html_url": "https://github.com/huggingface/datasets/pull/8517",
"diff_url": "https://github.com/huggingface/datasets/pull/8517.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8517.patch",
"merged_at": null
} | ## Summary
- Raise a **version-aware** `ImportError` when the Apache TsFile SDK is missing: point at `pip install 'datasets[tsfile]'` only on Python 3.14+, and explain the pyarrow conflict on 3.10–3.13.
- Declare optional extra `tsfile>=2.3.0; python_version >= '3.14'` (mirrored in test/dev extras) and install it in t... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8517/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8516 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8516/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8516/comments | https://api.github.com/repos/huggingface/datasets/issues/8516/events | https://github.com/huggingface/datasets/pull/8516 | 5,251,917,998 | PR_kwDODunzps8AAAABBAtkOA | 8,516 | fix(datasets): preserve dtype in Image.cast_storage | {
"login": "shoemoney",
"id": 444294,
"node_id": "MDQ6VXNlcjQ0NDI5NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/444294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shoemoney",
"html_url": "https://github.com/shoemoney",
"followers_url": "https://api.github.com/users/shoe... | [] | open | false | [] | null | 1 | 2026-08-26T00:06:06 | 2026-08-28T01:10:00 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8516",
"html_url": "https://github.com/huggingface/datasets/pull/8516",
"diff_url": "https://github.com/huggingface/datasets/pull/8516.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8516.patch",
"merged_at": null
} | Fixes spurious dtype downcast warning in Image.cast_storage.
Bug: Image.cast_storage at image.py:266 warns about downcasting int64 to uint8 even though storage is already uint8. When storage is a nested pa.list type like list<item: list<item: list<item: uint8>>>, to_pylist returns Python ints and np.array(arr) without... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8516/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8515 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8515/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8515/comments | https://api.github.com/repos/huggingface/datasets/issues/8515/events | https://github.com/huggingface/datasets/pull/8515 | 5,250,046,973 | PR_kwDODunzps8AAAABA_M4eQ | 8,515 | Fix offline cache lookup with custom data files | {
"login": "mdeff",
"id": 6806065,
"node_id": "MDQ6VXNlcjY4MDYwNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6806065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mdeff",
"html_url": "https://github.com/mdeff",
"followers_url": "https://api.github.com/users/mdeff/follower... | [] | open | false | [] | null | 0 | 2026-08-25T19:59:22 | 2026-09-12T12:30:00 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8515",
"html_url": "https://github.com/huggingface/datasets/pull/8515",
"diff_url": "https://github.com/huggingface/datasets/pull/8515.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8515.patch",
"merged_at": null
} | ## Summary
Fixes #7551.
Datasets loaded from the Hub with a `data_files` override could not be reloaded in offline mode.
During online loading, relative data file patterns are resolved to revision-pinned Hub URLs before computing the cache configuration ID. During offline lookup, only the original unresolved p... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8515/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8514 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8514/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8514/comments | https://api.github.com/repos/huggingface/datasets/issues/8514/events | https://github.com/huggingface/datasets/pull/8514 | 5,239,382,339 | PR_kwDODunzps8AAAABA2t1tw | 8,514 | fix(tsfile): guard optional Apache TsFile SDK import | {
"login": "AxelNoun",
"id": 150222552,
"node_id": "U_kgDOCPQ22A",
"avatar_url": "https://avatars.githubusercontent.com/u/150222552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AxelNoun",
"html_url": "https://github.com/AxelNoun",
"followers_url": "https://api.github.com/users/AxelNoun/... | [] | closed | false | [] | null | 1 | 2026-08-24T20:58:47 | 2026-08-26T04:50:52 | 2026-08-24T21:06:46 | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8514",
"html_url": "https://github.com/huggingface/datasets/pull/8514",
"diff_url": "https://github.com/huggingface/datasets/pull/8514.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8514.patch",
"merged_at": null
} | ## Summary
- Guard every `tsfile` SDK import behind `_require_tsfile()` so missing extras raise `ImportError: ... pip install 'datasets[tsfile]'` instead of a bare `ModuleNotFoundError`.
- Add a `tsfile` extra (`tsfile>=2.3.0`), install it in the `tests` extra on Python 3.14 (where it does not conflict with `pyarrow>... | {
"login": "AxelNoun",
"id": 150222552,
"node_id": "U_kgDOCPQ22A",
"avatar_url": "https://avatars.githubusercontent.com/u/150222552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AxelNoun",
"html_url": "https://github.com/AxelNoun",
"followers_url": "https://api.github.com/users/AxelNoun/... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8514/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8513 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8513/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8513/comments | https://api.github.com/repos/huggingface/datasets/issues/8513/events | https://github.com/huggingface/datasets/pull/8513 | 5,238,422,010 | PR_kwDODunzps8AAAABA18kwA | 8,513 | Fix typos in docstrings, comments and an error message | {
"login": "MsfPablo",
"id": 129399053,
"node_id": "U_kgDOB7Z5DQ",
"avatar_url": "https://avatars.githubusercontent.com/u/129399053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MsfPablo",
"html_url": "https://github.com/MsfPablo",
"followers_url": "https://api.github.com/users/MsfPablo/... | [] | open | false | [] | null | 0 | 2026-08-24T19:04:21 | 2026-08-24T19:04:21 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8513",
"html_url": "https://github.com/huggingface/datasets/pull/8513",
"diff_url": "https://github.com/huggingface/datasets/pull/8513.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8513.patch",
"merged_at": null
} | Typo fixes only — no identifiers renamed, no behavior change:
- `filesystems/compression.py`: "compresssed" -> "compressed"
- `fingerprint.py`: error message "Maximum lenth is" -> "Maximum length is"
- `dataset_dict.py` (x2): "contain None valies" -> "values"
- `iterable_dataset.py` (x2): "one thousand simulatenous ca... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8513/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8512 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8512/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8512/comments | https://api.github.com/repos/huggingface/datasets/issues/8512/events | https://github.com/huggingface/datasets/pull/8512 | 5,235,101,324 | PR_kwDODunzps8AAAABAzRvgg | 8,512 | Fix dead PDF processing link in README | {
"login": "aarushkandukoori",
"id": 66923736,
"node_id": "MDQ6VXNlcjY2OTIzNzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/66923736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aarushkandukoori",
"html_url": "https://github.com/aarushkandukoori",
"followers_url": "https://... | [] | closed | false | [] | null | 0 | 2026-08-24T13:11:58 | 2026-09-09T14:28:20 | 2026-09-09T14:28:20 | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8512",
"html_url": "https://github.com/huggingface/datasets/pull/8512",
"diff_url": "https://github.com/huggingface/datasets/pull/8512.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8512.patch",
"merged_at": "2026-09-09T14:28... | ## What
Fixed README.md link to PDF processing docs that pointed to a non-existent page (docs/datasets/pdf_process); redirected to docs/datasets/document_dataset, which contains the actual PDF processing content.
## Why
A small, objectively-verifiable improvement (broken-link) found during a
daily open-source maintena... | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8512/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8511 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8511/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8511/comments | https://api.github.com/repos/huggingface/datasets/issues/8511/events | https://github.com/huggingface/datasets/issues/8511 | 5,233,130,028 | I_kwDODunzps8AAAABN-s6LA | 8,511 | `Image.cast_storage` warns about downcasting int64 to uint8 for storage that is already uint8 | {
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_url": "https://api.g... | [] | open | false | [] | null | 0 | 2026-08-24T09:23:22 | 2026-08-24T09:23:22 | null | null | MEMBER | [] | null | null | null | null | ### Describe the bug
Casting a nested-list column whose Arrow value type is already `uint8` to `Image()` emits a spurious warning:
```
UserWarning: Downcasting array dtype int64 to uint8 to be compatible with 'Pillow'
```
No downcast is actually needed. The Arrow storage type is `list<item: list<item: list<item: uin... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8511/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8509 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8509/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8509/comments | https://api.github.com/repos/huggingface/datasets/issues/8509/events | https://github.com/huggingface/datasets/pull/8509 | 5,231,727,963 | PR_kwDODunzps8AAAABAwk97w | 8,509 | Add return_file_name parameter to JSON dataset loader (Fixes #5806) | {
"login": "mukktinaadh",
"id": 159904553,
"node_id": "U_kgDOCYfzKQ",
"avatar_url": "https://avatars.githubusercontent.com/u/159904553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mukktinaadh",
"html_url": "https://github.com/mukktinaadh",
"followers_url": "https://api.github.com/users/... | [] | open | false | [] | null | 0 | 2026-08-24T06:22:02 | 2026-08-24T06:22:02 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8509",
"html_url": "https://github.com/huggingface/datasets/pull/8509",
"diff_url": "https://github.com/huggingface/datasets/pull/8509.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8509.patch",
"merged_at": null
} | ## Summary
This PR adds a `return_file_name` parameter to the JSON dataset loader. When enabled, the dataset will include a `file_name` column containing the source file name for each row.
## Changes
1. **Added `return_file_name` parameter to `JsonConfig`** - A new boolean parameter that defaults to `False` for back... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8509/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8508 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8508/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8508/comments | https://api.github.com/repos/huggingface/datasets/issues/8508/events | https://github.com/huggingface/datasets/pull/8508 | 5,228,516,515 | PR_kwDODunzps8AAAABAuH1Tg | 8,508 | Validate ArrayXD dimensions during Arrow conversion | {
"login": "oroikono",
"id": 91159033,
"node_id": "MDQ6VXNlcjkxMTU5MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/91159033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oroikono",
"html_url": "https://github.com/oroikono",
"followers_url": "https://api.github.com/users/oro... | [] | open | false | [] | null | 1 | 2026-08-23T18:49:53 | 2026-09-14T15:37:29 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8508",
"html_url": "https://github.com/huggingface/datasets/pull/8508",
"diff_url": "https://github.com/huggingface/datasets/pull/8508.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8508.patch",
"merged_at": null
} | Closes #8507
`ArrayXD` storage uses variable-length Arrow lists for compatibility, but reading the array reshapes values to the declared feature shape. This meant malformed nested input could be accepted and later returned with different row boundaries.
This PR:
- checks every fixed `ArrayXD` dimension after c... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8508/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8507 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8507/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8507/comments | https://api.github.com/repos/huggingface/datasets/issues/8507/events | https://github.com/huggingface/datasets/issues/8507 | 5,228,485,367 | I_kwDODunzps8AAAABN6Ra9w | 8,507 | ArrayXD silently reshapes inputs with incompatible nested dimensions | {
"login": "oroikono",
"id": 91159033,
"node_id": "MDQ6VXNlcjkxMTU5MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/91159033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oroikono",
"html_url": "https://github.com/oroikono",
"followers_url": "https://api.github.com/users/oro... | [] | open | false | [] | null | 1 | 2026-08-23T18:42:56 | 2026-08-23T18:43:58 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`Array2D` and the other `ArrayXD` features accept nested input whose dimensions do not match the declared shape when the total number of values happens to match.
For example, data shaped like `(2, 2)` can be created from rows of lengths `3` and `1`. When the value is read back, the rows are silen... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8507/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8505 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8505/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8505/comments | https://api.github.com/repos/huggingface/datasets/issues/8505/events | https://github.com/huggingface/datasets/issues/8505 | 5,226,790,433 | I_kwDODunzps8AAAABN4p-IQ | 8,505 | Request to correct language name for ISO code 'blk' from 'Pa'o Karen' to 'Pa'O' | {
"login": "KhunPhanDuae",
"id": 127810188,
"node_id": "U_kgDOB546jA",
"avatar_url": "https://avatars.githubusercontent.com/u/127810188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KhunPhanDuae",
"html_url": "https://github.com/KhunPhanDuae",
"followers_url": "https://api.github.com/use... | [] | open | false | [] | null | 0 | 2026-08-23T12:05:19 | 2026-08-23T12:05:19 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
Dear Hugging Face Team,
I am writing to request a correction regarding the language display name associated with the ISO 639-3 code `blk` on the platform.
Currently, it is displayed as **"Pa'O Karen"**. However, as a native speaker and local member of the Pa'O community, this terminology is inco... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8505/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8504 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8504/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8504/comments | https://api.github.com/repos/huggingface/datasets/issues/8504/events | https://github.com/huggingface/datasets/pull/8504 | 5,225,685,186 | PR_kwDODunzps8AAAABAsCdgQ | 8,504 | Preserve special NumPy scalar types in NumPy formatting | {
"login": "medisean",
"id": 6093631,
"node_id": "MDQ6VXNlcjYwOTM2MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6093631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/medisean",
"html_url": "https://github.com/medisean",
"followers_url": "https://api.github.com/users/medis... | [] | open | false | [] | null | 0 | 2026-08-23T06:37:59 | 2026-08-26T05:32:10 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8504",
"html_url": "https://github.com/huggingface/datasets/pull/8504",
"diff_url": "https://github.com/huggingface/datasets/pull/8504.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8504.patch",
"merged_at": null
} | Fixes #8500.\n\nTreat NumPy scalar types uniformly in NumpyFormatter so boolean, datetime, and duration values remain scalar values during row formatting. Also avoid applying the integer default dtype to timedelta arrays, preserving duration units for batch and column formatting.\n\nAdded regression coverage for boolea... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8504/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8503 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8503/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8503/comments | https://api.github.com/repos/huggingface/datasets/issues/8503/events | https://github.com/huggingface/datasets/pull/8503 | 5,225,435,118 | PR_kwDODunzps8AAAABAr2vSA | 8,503 | Preserve NumPy temporal and boolean scalars | {
"login": "medisean",
"id": 6093631,
"node_id": "MDQ6VXNlcjYwOTM2MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6093631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/medisean",
"html_url": "https://github.com/medisean",
"followers_url": "https://api.github.com/users/medis... | [] | open | false | [] | null | 0 | 2026-08-23T05:13:20 | 2026-08-23T05:13:20 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8503",
"html_url": "https://github.com/huggingface/datasets/pull/8503",
"diff_url": "https://github.com/huggingface/datasets/pull/8503.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8503.patch",
"merged_at": null
} | Fixes #8500\n\nSummary:\n- Preserve NumPy boolean, datetime, and timedelta scalars during formatting.\n- Avoid coercing timedelta arrays to int64.\n- Add focused formatter coverage.\n\nTests:\n- Python syntax compilation passed.\n- Pytest could not start because the local datasets package is not installed. | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8503/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8502 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8502/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8502/comments | https://api.github.com/repos/huggingface/datasets/issues/8502/events | https://github.com/huggingface/datasets/pull/8502 | 5,216,085,164 | PR_kwDODunzps8AAAABAkvL1g | 8,502 | Add support for datasets backed by vortex file format | {
"login": "robert3005",
"id": 512084,
"node_id": "MDQ6VXNlcjUxMjA4NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/512084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/robert3005",
"html_url": "https://github.com/robert3005",
"followers_url": "https://api.github.com/users/r... | [] | closed | false | [] | null | 9 | 2026-08-21T16:23:30 | 2026-08-27T17:02:22 | 2026-08-26T12:48:04 | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8502",
"html_url": "https://github.com/huggingface/datasets/pull/8502",
"diff_url": "https://github.com/huggingface/datasets/pull/8502.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8502.patch",
"merged_at": "2026-08-26T12:48... | Vortex provides fast random access and state of the art analytical
performance. Vortex files are self contained the integration logic
largely resembles parquet.
pyarrow minimum version has been raised in this pr to include fix for
Table.nbytes error with view types https://github.com/apache/arrow/issues/47279.
As req... | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8502/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8502/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8501 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8501/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8501/comments | https://api.github.com/repos/huggingface/datasets/issues/8501/events | https://github.com/huggingface/datasets/pull/8501 | 5,198,172,545 | PR_kwDODunzps8AAAABAWX4Qw | 8,501 | Format bool and temporal values as numpy scalars and keep the duration dtype in numpy format | {
"login": "2sumtech",
"id": 206164974,
"node_id": "U_kgDODEnT7g",
"avatar_url": "https://avatars.githubusercontent.com/u/206164974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/2sumtech",
"html_url": "https://github.com/2sumtech",
"followers_url": "https://api.github.com/users/2sumtech/... | [] | open | false | [] | null | 0 | 2026-08-19T23:48:34 | 2026-08-19T23:48:34 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8501",
"html_url": "https://github.com/huggingface/datasets/pull/8501",
"diff_url": "https://github.com/huggingface/datasets/pull/8501.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8501.patch",
"merged_at": null
} | Fixes #8500
`NumpyFormatter._tensorize` now early-returns `np.bool_`/`np.datetime64`/`np.timedelta64` scalars like other numpy scalars, `_recursive_tensorize` excludes all `np.generic` scalars from `__array__` conversion (previously it re-wrapped bool/datetime scalars into 0-d arrays), and the int64 default dtype only... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8501/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8500 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8500/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8500/comments | https://api.github.com/repos/huggingface/datasets/issues/8500/events | https://github.com/huggingface/datasets/issues/8500 | 5,198,170,352 | I_kwDODunzps8AAAABNdXI8A | 8,500 | with_format("numpy") returns bool/datetime values as 0-d unhashable arrays and casts duration columns to int64 | {
"login": "2sumtech",
"id": 206164974,
"node_id": "U_kgDODEnT7g",
"avatar_url": "https://avatars.githubusercontent.com/u/206164974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/2sumtech",
"html_url": "https://github.com/2sumtech",
"followers_url": "https://api.github.com/users/2sumtech/... | [] | open | false | [] | null | 0 | 2026-08-19T23:48:11 | 2026-08-19T23:48:11 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
With numpy formatting, row access returns `np.int64`/`np.float64`/`np.str_` scalars for most dtypes, but **bool and timestamp/date values come back as 0-dimensional `ndarray`s** (`array(True)`), which are unhashable and fail `isinstance(x, np.bool_)` checks. Separately, **batch/column access silen... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8500/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8499 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8499/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8499/comments | https://api.github.com/repos/huggingface/datasets/issues/8499/events | https://github.com/huggingface/datasets/issues/8499 | 5,192,173,564 | I_kwDODunzps8AAAABNXpH_A | 8,499 | TsFile format filter uses an inconsistent URL and is not available initially | {
"login": "ColinLeeo",
"id": 105656576,
"node_id": "U_kgDOBkwxAA",
"avatar_url": "https://avatars.githubusercontent.com/u/105656576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ColinLeeo",
"html_url": "https://github.com/ColinLeeo",
"followers_url": "https://api.github.com/users/ColinL... | [] | open | false | [] | null | 2 | 2026-08-19T11:35:39 | 2026-09-01T04:16:37 | null | null | NONE | [] | null | null | null | null |
## Summary
There appear to be two related issues with the `TsFile` format filter on the Hugging Face Datasets page:
1. The URL parameter for `TsFile` is inconsistent with other formats.
2. `TsFile` is not initially shown in the format filter and only appears after visiting a TsFile-specific URL.
## 1. Inconsistent... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8499/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8497 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8497/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8497/comments | https://api.github.com/repos/huggingface/datasets/issues/8497/events | https://github.com/huggingface/datasets/pull/8497 | 5,189,857,731 | PR_kwDODunzps8AAAABAPp-7w | 8,497 | fix: bound Dataset.take range to prevent IndexError when n > len(dataset) | {
"login": "webdevsamran",
"id": 121370806,
"node_id": "U_kgDOBzv4tg",
"avatar_url": "https://avatars.githubusercontent.com/u/121370806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/webdevsamran",
"html_url": "https://github.com/webdevsamran",
"followers_url": "https://api.github.com/use... | [] | open | false | [] | null | 0 | 2026-08-19T06:58:54 | 2026-08-19T06:58:54 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8497",
"html_url": "https://github.com/huggingface/datasets/pull/8497",
"diff_url": "https://github.com/huggingface/datasets/pull/8497.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8497.patch",
"merged_at": null
} | ## Summary
Fixes #8483
Currently \Dataset.take(n)\ executes \self.select(range(n))\. When \
\ exceeds the dataset size \len(self)\, \
ange(n)\ attempts to index beyond the end of the table and raises an \IndexError\. Meanwhile, \IterableDataset.take(n)\ gracefully yields up to \
\ items.
## Changes
- In \src/datase... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8497/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8496 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8496/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8496/comments | https://api.github.com/repos/huggingface/datasets/issues/8496/events | https://github.com/huggingface/datasets/pull/8496 | 5,182,606,158 | PR_kwDODunzps8AAAABAJ1kuQ | 8,496 | Preserve storage options across URL hops | {
"login": "tandede",
"id": 127607634,
"node_id": "U_kgDOB5sjUg",
"avatar_url": "https://avatars.githubusercontent.com/u/127607634?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tandede",
"html_url": "https://github.com/tandede",
"followers_url": "https://api.github.com/users/tandede/foll... | [] | closed | false | [] | null | 2 | 2026-08-18T13:56:16 | 2026-09-10T13:32:53 | 2026-09-10T13:32:53 | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8496",
"html_url": "https://github.com/huggingface/datasets/pull/8496",
"diff_url": "https://github.com/huggingface/datasets/pull/8496.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8496.patch",
"merged_at": "2026-09-10T13:32... | ## Summary
- return the accumulated storage options for every hop in chained fsspec URLs
- add a regression test covering protocol-specific options on both `zip` and `https` hops
## Problem
`_prepare_path_and_storage_options` builds `prepared_storage_options` while iterating over a multi-hop path, but returned the l... | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8496/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8495 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8495/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8495/comments | https://api.github.com/repos/huggingface/datasets/issues/8495/events | https://github.com/huggingface/datasets/pull/8495 | 5,179,629,172 | PR_kwDODunzps8AAAABAHbjYw | 8,495 | Validate class labels when casting an integer column to ClassLabel | {
"login": "shoutoutuoadi325",
"id": 218713058,
"node_id": "U_kgDODQlL4g",
"avatar_url": "https://avatars.githubusercontent.com/u/218713058?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shoutoutuoadi325",
"html_url": "https://github.com/shoutoutuoadi325",
"followers_url": "https://api.gi... | [] | open | false | [] | null | 0 | 2026-08-18T08:11:11 | 2026-08-18T08:11:17 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8495",
"html_url": "https://github.com/huggingface/datasets/pull/8495",
"diff_url": "https://github.com/huggingface/datasets/pull/8495.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8495.patch",
"merged_at": null
} | `table_cast` took a metadata-only fast path when the arrow schema was unchanged, so casting int64 storage to `ClassLabel` never ran `ClassLabel.cast_storage` and out-of-range label indices were accepted silently. Route metadata-only changes through `cast_table_to_schema` too, so the range check runs like on the write p... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8495/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8494 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8494/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8494/comments | https://api.github.com/repos/huggingface/datasets/issues/8494/events | https://github.com/huggingface/datasets/issues/8494 | 5,179,628,125 | I_kwDODunzps8AAAABNLraXQ | 8,494 | cast_column to ClassLabel silently accepts out-of-range label indices | {
"login": "shoutoutuoadi325",
"id": 218713058,
"node_id": "U_kgDODQlL4g",
"avatar_url": "https://avatars.githubusercontent.com/u/218713058?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shoutoutuoadi325",
"html_url": "https://github.com/shoutoutuoadi325",
"followers_url": "https://api.gi... | [] | open | false | [] | null | 0 | 2026-08-18T08:11:05 | 2026-08-18T08:11:05 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`Dataset.cast_column` / `Dataset.cast` to a `ClassLabel` column silently keeps label indices that are out of range for the target number of classes. The corruption only shows up later — e.g. on the first `int2str` call — or silently trains on wrong labels:
```python
from datasets import Dataset, ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8494/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8493 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8493/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8493/comments | https://api.github.com/repos/huggingface/datasets/issues/8493/events | https://github.com/huggingface/datasets/pull/8493 | 5,175,749,969 | PR_kwDODunzps8AAAABAEV0fA | 8,493 | Don't mask the original error when finalizing the writer fails in Dataset.map | {
"login": "jayzuccarelli",
"id": 11176606,
"node_id": "MDQ6VXNlcjExMTc2NjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/11176606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayzuccarelli",
"html_url": "https://github.com/jayzuccarelli",
"followers_url": "https://api.githu... | [] | open | false | [] | null | 2 | 2026-08-17T21:50:50 | 2026-08-18T13:55:59 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8493",
"html_url": "https://github.com/huggingface/datasets/pull/8493",
"diff_url": "https://github.com/huggingface/datasets/pull/8493.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8493.patch",
"merged_at": null
} | ## Summary
Fixes #8491.
When `writer.finalize()` raises in `_map_single()`, the `except` block calls `finalize()` again on a writer whose stream is already closed. `finalize()` then hits `self.pa_writer is None and self.schema` and calls `_build_writer(self.schema)`, which raises `ValueError: I/O operation on closed ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8493/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8492 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8492/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8492/comments | https://api.github.com/repos/huggingface/datasets/issues/8492/events | https://github.com/huggingface/datasets/pull/8492 | 5,168,913,422 | PR_kwDODunzps7_7cuf | 8,492 | Let Dataset.take(n) return what it has when n > len(dataset) | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-17T06:20:57 | 2026-08-17T06:20:57 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8492",
"html_url": "https://github.com/huggingface/datasets/pull/8492",
"diff_url": "https://github.com/huggingface/datasets/pull/8492.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8492.patch",
"merged_at": null
} | Fixes #8483
### Problem
`Dataset.take(n)` is `select(range(n))`, so asking for more elements than the dataset has raises from the out-of-range index — while the `IterableDataset` counterpart returns the elements it has:
```python
>>> ds = Dataset.from_dict({"a": [1, 2, 3]})
>>> ds.take(3)
Dataset({features: ['a'], n... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8492/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8491 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8491/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8491/comments | https://api.github.com/repos/huggingface/datasets/issues/8491/events | https://github.com/huggingface/datasets/issues/8491 | 5,168,815,070 | I_kwDODunzps8AAAABNBXb3g | 8,491 | `Dataset.map(num_proc=N)` worker crashes with `ValueError: I/O operation on closed file` when `finalize()` is interrupted | {
"login": "HowardZorn",
"id": 18005538,
"node_id": "MDQ6VXNlcjE4MDA1NTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/18005538?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HowardZorn",
"html_url": "https://github.com/HowardZorn",
"followers_url": "https://api.github.com/use... | [] | open | false | [] | null | 5 | 2026-08-17T06:05:58 | 2026-09-10T09:48:38 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
We hit this while running Megatron-LM training through ms-swift, which uses `datasets` under the hood for preprocessing. Our preprocessing step calls `Dataset.map()` with a fairly aggressive `num_proc=512` on a ~25k-example JSONL file:
```bash
swift --dataset_num_proc 512 --dataset large.jsonl --... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8491/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8490 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8490/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8490/comments | https://api.github.com/repos/huggingface/datasets/issues/8490/events | https://github.com/huggingface/datasets/pull/8490 | 5,165,873,737 | PR_kwDODunzps7_yA7P | 8,490 | Fix archive path check allowing sibling-directory escapes | {
"login": "icn5381",
"id": 255778606,
"node_id": "U_kgDODz7fLg",
"avatar_url": "https://avatars.githubusercontent.com/u/255778606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/icn5381",
"html_url": "https://github.com/icn5381",
"followers_url": "https://api.github.com/users/icn5381/foll... | [] | closed | false | [] | null | 1 | 2026-08-16T18:58:07 | 2026-08-31T09:38:34 | 2026-08-31T09:38:34 | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8490",
"html_url": "https://github.com/huggingface/datasets/pull/8490",
"diff_url": "https://github.com/huggingface/datasets/pull/8490.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8490.patch",
"merged_at": "2026-08-31T09:38... | ## Bug
The `safemembers` path check that guards archive extraction (the CVE-2007-4559 mitigation, duplicated across the tar/zip/rar/7z extractors) uses a plain `startswith(base)`. That also matches **sibling directories whose name starts with the output directory's name**:
```py
target = resolved(os.path.join(base, p... | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8490/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8489 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8489/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8489/comments | https://api.github.com/repos/huggingface/datasets/issues/8489/events | https://github.com/huggingface/datasets/pull/8489 | 5,163,718,955 | PR_kwDODunzps7_riae | 8,489 | Add integration test for loading renamed dataset repositories | {
"login": "chintan-diwakar",
"id": 48587709,
"node_id": "MDQ6VXNlcjQ4NTg3NzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/48587709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chintan-diwakar",
"html_url": "https://github.com/chintan-diwakar",
"followers_url": "https://api... | [] | open | false | [] | null | 0 | 2026-08-16T09:53:40 | 2026-08-16T09:53:40 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8489",
"html_url": "https://github.com/huggingface/datasets/pull/8489",
"diff_url": "https://github.com/huggingface/datasets/pull/8489.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8489.patch",
"merged_at": null
} | Fixes #4911.
Adds `TestLoadFromHub.test_load_dataset_after_repo_rename` to `tests/test_upstream_hub.py`:
1. pushes a small dataset to a temporary repo on hub-ci
2. renames the repo with `HfApi.move_repo` (the `/api/repos/move` endpoint suggested in the issue), with a sanity assertion that the repo now lives under the... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8489/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8488 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8488/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8488/comments | https://api.github.com/repos/huggingface/datasets/issues/8488/events | https://github.com/huggingface/datasets/pull/8488 | 5,162,073,092 | PR_kwDODunzps7_mowk | 8,488 | Skip Spark tests when PySpark is unavailable | {
"login": "fallenmi",
"id": 33496176,
"node_id": "MDQ6VXNlcjMzNDk2MTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/33496176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fallenmi",
"html_url": "https://github.com/fallenmi",
"followers_url": "https://api.github.com/users/fal... | [] | open | false | [] | null | 1 | 2026-08-16T00:58:13 | 2026-08-28T13:48:51 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8488",
"html_url": "https://github.com/huggingface/datasets/pull/8488",
"diff_url": "https://github.com/huggingface/datasets/pull/8488.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8488.patch",
"merged_at": null
} | Fixes #7089.
The Spark test module no longer imports PySpark during collection. Its configuration tests remain active without the optional dependency, while the eight tests that actually create Spark sessions use the existing `require_pyspark` decorator and local imports already used elsewhere in the test suite.
Vali... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8488/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8487 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8487/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8487/comments | https://api.github.com/repos/huggingface/datasets/issues/8487/events | https://github.com/huggingface/datasets/pull/8487 | 5,162,010,864 | PR_kwDODunzps7_mc-m | 8,487 | Use the active Python interpreter in fingerprint test | {
"login": "fallenmi",
"id": 33496176,
"node_id": "MDQ6VXNlcjMzNDk2MTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/33496176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fallenmi",
"html_url": "https://github.com/fallenmi",
"followers_url": "https://api.github.com/users/fal... | [] | open | false | [] | null | 0 | 2026-08-16T00:38:16 | 2026-08-25T12:56:49 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8487",
"html_url": "https://github.com/huggingface/datasets/pull/8487",
"diff_url": "https://github.com/huggingface/datasets/pull/8487.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8487.patch",
"merged_at": null
} | Fixes #7090.
`test_move_script_doesnt_change_hash` now invokes both temporary scripts with `sys.executable` instead of relying on a `python` command being available on `PATH`. This keeps the subprocess interpreter aligned with the interpreter running pytest and fixes environments such as FreeBSD where only `python3` m... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8487/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8486 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8486/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8486/comments | https://api.github.com/repos/huggingface/datasets/issues/8486/events | https://github.com/huggingface/datasets/pull/8486 | 5,161,733,908 | PR_kwDODunzps7_loWI | 8,486 | Fix PandasArrayExtensionArray.take coercing fill_value when not filling | {
"login": "aryansk",
"id": 70511529,
"node_id": "MDQ6VXNlcjcwNTExNTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/70511529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aryansk",
"html_url": "https://github.com/aryansk",
"followers_url": "https://api.github.com/users/aryans... | [] | open | false | [] | null | 0 | 2026-08-15T23:08:41 | 2026-08-15T23:08:41 | null | null | NONE | [] | null | null | true | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8486",
"html_url": "https://github.com/huggingface/datasets/pull/8486",
"diff_url": "https://github.com/huggingface/datasets/pull/8486.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8486.patch",
"merged_at": null
} | Fixes #8465
## Problem
`PandasArrayExtensionArray.take` coerces `fill_value` to the pandas dtype *before* checking whether any row is actually missing. When `allow_fill=True` with a mask that contains no missing indices, `take` still needs to return a proper pandas Series — but the coercion can blow up for values tha... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8486/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8485 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8485/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8485/comments | https://api.github.com/repos/huggingface/datasets/issues/8485/events | https://github.com/huggingface/datasets/pull/8485 | 5,161,733,278 | PR_kwDODunzps7_loOj | 8,485 | Fix Dataset.take raising IndexError when n exceeds dataset length | {
"login": "aryansk",
"id": 70511529,
"node_id": "MDQ6VXNlcjcwNTExNTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/70511529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aryansk",
"html_url": "https://github.com/aryansk",
"followers_url": "https://api.github.com/users/aryans... | [] | open | false | [] | null | 2 | 2026-08-15T23:08:28 | 2026-08-28T13:46:43 | null | null | NONE | [] | null | null | true | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8485",
"html_url": "https://github.com/huggingface/datasets/pull/8485",
"diff_url": "https://github.com/huggingface/datasets/pull/8485.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8485.patch",
"merged_at": null
} | Fixes #8483
## Problem
`Dataset.take(n)` raises `IndexError: index ... is out of bounds for axis 0 with size ...` when `n` exceeds the number of rows, while `IterableDataset.take(n)` returns everything available (list-slice semantics). The two dataset flavors should behave consistently.
## Change
Clamp the request ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8485/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8484 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8484/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8484/comments | https://api.github.com/repos/huggingface/datasets/issues/8484/events | https://github.com/huggingface/datasets/pull/8484 | 5,161,710,896 | PR_kwDODunzps7_lkDi | 8,484 | Validate each element in ClassLabel.int2str | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-15T23:01:22 | 2026-08-15T23:01:22 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8484",
"html_url": "https://github.com/huggingface/datasets/pull/8484",
"diff_url": "https://github.com/huggingface/datasets/pull/8484.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8484.patch",
"merged_at": null
} | Partially fixes #8481
### Problem
`int2str` validates the container it is given, but never the elements inside it. Three consequences, in decreasing order of severity:
```python
>>> cl = ClassLabel(names=["neg", "pos"])
>>> cl.int2str([1.7])
['pos'] # silently truncated by the int(v) used to inde... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8484/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8483 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8483/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8483/comments | https://api.github.com/repos/huggingface/datasets/issues/8483/events | https://github.com/huggingface/datasets/issues/8483 | 5,160,294,983 | I_kwDODunzps8AAAABM5PaRw | 8,483 | Dataset.take(n) raises IndexError when n > len(dataset), but IterableDataset.take(n) returns what it has | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 3 | 2026-08-15T16:32:03 | 2026-09-08T10:02:39 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`Dataset.take(n)` raises when asked for more elements than the dataset has, while `IterableDataset.take(n)` returns the elements it has. Both are documented identically as "Create a new [...] with only the first `n` elements".
```python
>>> from datasets import Dataset
>>> ds = Dataset.from_dict(... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8483/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8482 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8482/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8482/comments | https://api.github.com/repos/huggingface/datasets/issues/8482/events | https://github.com/huggingface/datasets/pull/8482 | 5,160,244,384 | PR_kwDODunzps7_hL3C | 8,482 | Fix Dataset.skip(n) raising IndexError when n == len(dataset) | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-15T16:19:39 | 2026-08-18T13:03:04 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8482",
"html_url": "https://github.com/huggingface/datasets/pull/8482",
"diff_url": "https://github.com/huggingface/datasets/pull/8482.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8482.patch",
"merged_at": null
} | Skipping exactly as many elements as the dataset has raises, but skipping *more* than that works and returns an empty dataset:
```python
>>> ds = Dataset.from_dict({"a": [1, 2, 3]})
>>> ds.skip(2)
Dataset({features: ['a'], num_rows: 1})
>>> ds.skip(3)
IndexError: Index 3 out of range for dataset of size 3.
>>> ds.skip... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8482/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8481 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8481/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8481/comments | https://api.github.com/repos/huggingface/datasets/issues/8481/events | https://github.com/huggingface/datasets/issues/8481 | 5,158,540,024 | I_kwDODunzps8AAAABM3kS-A | 8,481 | ClassLabel.str2int and int2str do not validate the elements of an iterable | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 2 | 2026-08-15T08:43:11 | 2026-08-17T06:13:32 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`ClassLabel.str2int` and `ClassLabel.int2str` both validate the *container* they're given, but never the elements inside it. Two of the resulting cases fail silently and return wrong labels rather than raising.
`str2int` accepts ints and hands them straight back, so a column of integer labels rou... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8481/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8480 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8480/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8480/comments | https://api.github.com/repos/huggingface/datasets/issues/8480/events | https://github.com/huggingface/datasets/pull/8480 | 5,150,492,231 | PR_kwDODunzps7_CYeM | 8,480 | tests(utils): add unit tests for is_documented_by in doc_utils | {
"login": "kaptankrrish",
"id": 175963678,
"node_id": "U_kgDOCnz-Hg",
"avatar_url": "https://avatars.githubusercontent.com/u/175963678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaptankrrish",
"html_url": "https://github.com/kaptankrrish",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 1 | 2026-08-14T09:59:42 | 2026-08-19T09:30:50 | 2026-08-19T09:30:50 | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8480",
"html_url": "https://github.com/huggingface/datasets/pull/8480",
"diff_url": "https://github.com/huggingface/datasets/pull/8480.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8480.patch",
"merged_at": null
} | null | {
"login": "kaptankrrish",
"id": 175963678,
"node_id": "U_kgDOCnz-Hg",
"avatar_url": "https://avatars.githubusercontent.com/u/175963678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaptankrrish",
"html_url": "https://github.com/kaptankrrish",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8480/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8479 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8479/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8479/comments | https://api.github.com/repos/huggingface/datasets/issues/8479/events | https://github.com/huggingface/datasets/pull/8479 | 5,150,482,624 | PR_kwDODunzps7_CWcR | 8,479 | tests(utils): add unit tests for is_documented_by in doc_utils | {
"login": "kaptankrrish",
"id": 175963678,
"node_id": "U_kgDOCnz-Hg",
"avatar_url": "https://avatars.githubusercontent.com/u/175963678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaptankrrish",
"html_url": "https://github.com/kaptankrrish",
"followers_url": "https://api.github.com/use... | [] | closed | false | [] | null | 0 | 2026-08-14T09:58:22 | 2026-08-14T09:59:20 | 2026-08-14T09:59:20 | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8479",
"html_url": "https://github.com/huggingface/datasets/pull/8479",
"diff_url": "https://github.com/huggingface/datasets/pull/8479.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8479.patch",
"merged_at": null
} | null | {
"login": "kaptankrrish",
"id": 175963678,
"node_id": "U_kgDOCnz-Hg",
"avatar_url": "https://avatars.githubusercontent.com/u/175963678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaptankrrish",
"html_url": "https://github.com/kaptankrrish",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8479/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8478 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8478/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8478/comments | https://api.github.com/repos/huggingface/datasets/issues/8478/events | https://github.com/huggingface/datasets/pull/8478 | 5,147,818,234 | PR_kwDODunzps7-51NF | 8,478 | Handle null values when batching by column | {
"login": "Michael-RDev",
"id": 89427972,
"node_id": "MDQ6VXNlcjg5NDI3OTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/89427972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Michael-RDev",
"html_url": "https://github.com/Michael-RDev",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 0 | 2026-08-14T03:05:18 | 2026-08-14T03:09:20 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8478",
"html_url": "https://github.com/huggingface/datasets/pull/8478",
"diff_url": "https://github.com/huggingface/datasets/pull/8478.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8478.patch",
"merged_at": null
} | ## What changed
I encountered an error when batching a dataset by a nullable column. Rows containing null values were not split into the expected groups, and grouping by an all-null Arrow column raised an `ArrowNotImplementedError`.
For example, batching this column:
```python
[None, None, "A", "A", None, "B"]
... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8478/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8477 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8477/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8477/comments | https://api.github.com/repos/huggingface/datasets/issues/8477/events | https://github.com/huggingface/datasets/pull/8477 | 5,143,737,519 | PR_kwDODunzps7-stG2 | 8,477 | Reject non-positive batch sizes in batch() | {
"login": "Anakintano",
"id": 126348043,
"node_id": "U_kgDOB4frCw",
"avatar_url": "https://avatars.githubusercontent.com/u/126348043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anakintano",
"html_url": "https://github.com/Anakintano",
"followers_url": "https://api.github.com/users/Ana... | [] | open | false | [] | null | 1 | 2026-08-13T16:47:46 | 2026-09-13T07:20:22 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8477",
"html_url": "https://github.com/huggingface/datasets/pull/8477",
"diff_url": "https://github.com/huggingface/datasets/pull/8477.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8477.patch",
"merged_at": null
} | ## Summary
- reject non-positive `batch_size` values in `Dataset.batch()` and `IterableDataset.batch()`
- raise before mapping or consuming an iterable source
- add focused regression tests for `0` and `-1`
Fixes #8472
## Related work
This includes the small `_check_batch_size` helper also proposed by @LeSingh1 in ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8477/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8476 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8476/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8476/comments | https://api.github.com/repos/huggingface/datasets/issues/8476/events | https://github.com/huggingface/datasets/pull/8476 | 5,137,360,424 | PR_kwDODunzps7-YDwB | 8,476 | Fix OverflowError in Dataset.select on in-range negative indices | {
"login": "codeAnqiang-ma",
"id": 273298913,
"node_id": "U_kgDOEEo14Q",
"avatar_url": "https://avatars.githubusercontent.com/u/273298913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codeAnqiang-ma",
"html_url": "https://github.com/codeAnqiang-ma",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 0 | 2026-08-13T03:07:14 | 2026-08-13T03:07:14 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8476",
"html_url": "https://github.com/huggingface/datasets/pull/8476",
"diff_url": "https://github.com/huggingface/datasets/pull/8476.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8476.patch",
"merged_at": null
} | Fixes #8475.
### What this fixes
`Dataset.select` validates indices with `_check_valid_indices_value`, which implements Python-style negative indexing (it only rejects a negative index when `index + size < 0`), but `_select_with_indices_mapping` then converts the indices with `pa.array(indices, type=pa.uint64())`, wh... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8476/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8475 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8475/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8475/comments | https://api.github.com/repos/huggingface/datasets/issues/8475/events | https://github.com/huggingface/datasets/issues/8475 | 5,137,335,145 | I_kwDODunzps8AAAABMjWDaQ | 8,475 | `Dataset.select` raises a raw OverflowError on in-range negative indices that its own validation allows | {
"login": "codeAnqiang-ma",
"id": 273298913,
"node_id": "U_kgDOEEo14Q",
"avatar_url": "https://avatars.githubusercontent.com/u/273298913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codeAnqiang-ma",
"html_url": "https://github.com/codeAnqiang-ma",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 2 | 2026-08-13T03:02:44 | 2026-08-16T23:36:56 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`Dataset.select` validates indices with [`_check_valid_indices_value`](https://github.com/huggingface/datasets/blob/836b82e0544cabf6474b25ade131b4d21e570373/src/datasets/arrow_dataset.py#L636-L638), which implements Python-style negative indexing: it only raises for a negative index when `index + ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8475/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8474 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8474/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8474/comments | https://api.github.com/repos/huggingface/datasets/issues/8474/events | https://github.com/huggingface/datasets/pull/8474 | 5,137,329,748 | PR_kwDODunzps7-X9tn | 8,474 | Fix negative percent split boundary anchoring to the start when it rounds to 0 | {
"login": "codeAnqiang-ma",
"id": 273298913,
"node_id": "U_kgDOEEo14Q",
"avatar_url": "https://avatars.githubusercontent.com/u/273298913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codeAnqiang-ma",
"html_url": "https://github.com/codeAnqiang-ma",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 0 | 2026-08-13T03:01:41 | 2026-08-13T03:01:41 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8474",
"html_url": "https://github.com/huggingface/datasets/pull/8474",
"diff_url": "https://github.com/huggingface/datasets/pull/8474.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8474.patch",
"merged_at": null
} | Fixes #8473.
### What this fixes
With the default `closest` rounding, a negative percent split boundary whose absolute value rounds to 0 loses its sign, so "relative to the end" silently becomes "relative to the start":
```python
# on a 30-example split
train[-1%:] -> (0, 30) all 30 rows, while train[99%:] corre... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8474/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8473 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8473/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8473/comments | https://api.github.com/repos/huggingface/datasets/issues/8473/events | https://github.com/huggingface/datasets/issues/8473 | 5,137,305,743 | I_kwDODunzps8AAAABMjUQjw | 8,473 | Negative percent split boundary silently anchors to the start when it rounds to 0 (`train[-1%:]` returns the whole split) | {
"login": "codeAnqiang-ma",
"id": 273298913,
"node_id": "U_kgDOEEo14Q",
"avatar_url": "https://avatars.githubusercontent.com/u/273298913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codeAnqiang-ma",
"html_url": "https://github.com/codeAnqiang-ma",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 0 | 2026-08-13T02:56:52 | 2026-08-13T02:56:52 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
With the default `closest` rounding, a negative percent split boundary whose absolute value rounds to 0 loses its sign, so "relative to the end" silently becomes "relative to the start":
- `train[-1%:]` on a 30-example split returns **all 30 rows** instead of the last 1% (~0 rows, as `train[99%:]... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8473/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8472 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8472/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8472/comments | https://api.github.com/repos/huggingface/datasets/issues/8472/events | https://github.com/huggingface/datasets/issues/8472 | 5,128,543,479 | I_kwDODunzps8AAAABMa9c9w | 8,472 | batch(0) silently returns one batch with the whole dataset instead of raising | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 2 | 2026-08-12T07:52:28 | 2026-08-16T15:56:35 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`Dataset.batch()` and `IterableDataset.batch()` accept `batch_size=0` and negative sizes, and quietly return **one batch holding the whole dataset**. Asking for a zero-sized batch produces the largest possible batch, which is as close to the opposite of the request as the API can get.
### Steps o... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8472/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8471 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8471/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8471/comments | https://api.github.com/repos/huggingface/datasets/issues/8471/events | https://github.com/huggingface/datasets/pull/8471 | 5,128,533,318 | PR_kwDODunzps797k6o | 8,471 | Stop `Dataset.sort()` emitting a pyarrow FutureWarning | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 1 | 2026-08-12T07:51:09 | 2026-08-12T07:57:52 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8471",
"html_url": "https://github.com/huggingface/datasets/pull/8471",
"diff_url": "https://github.com/huggingface/datasets/pull/8471.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8471.patch",
"merged_at": null
} | ## The bug
Every `Dataset.sort()` call emits a pyarrow `FutureWarning` on pyarrow >= 25:
```
FutureWarning: Specifying null_placement in SortOptions is deprecated as of 25.0.0.
Specify null_placement per sort_key instead.
```
It comes from `Dataset.sort` itself, not from user code:
```python
indices = pc.sort_indic... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8471/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8470 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8470/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8470/comments | https://api.github.com/repos/huggingface/datasets/issues/8470/events | https://github.com/huggingface/datasets/pull/8470 | 5,128,425,500 | PR_kwDODunzps797OZ4 | 8,470 | Keep the dtype of an empty column in the numpy formatter | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-12T07:38:03 | 2026-08-12T07:38:03 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8470",
"html_url": "https://github.com/huggingface/datasets/pull/8470",
"diff_url": "https://github.com/huggingface/datasets/pull/8470.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8470.patch",
"merged_at": null
} | Fixes #8469.
## The bug
Under `numpy` format, a column holding zero rows comes back as `float32` regardless of its declared dtype — while the same column keeps its dtype as soon as it holds one row, and `pandas`/`arrow` keep it either way.
```python
feats = Features({"a": Value("int64")})
ds = Dataset.from_dict({"a"... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8470/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8469 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8469/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8469/comments | https://api.github.com/repos/huggingface/datasets/issues/8469/events | https://github.com/huggingface/datasets/issues/8469 | 5,128,417,961 | I_kwDODunzps8AAAABMa1yqQ | 8,469 | Empty column loses its dtype under numpy format (always float32) | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-12T07:37:13 | 2026-08-12T07:38:05 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
Under `numpy` format, a column that holds zero rows comes back as `float32` no matter what dtype it was declared with. The same column keeps its dtype as soon as it holds a single row, and the `pandas` and `arrow` formatters keep it in both cases.
This is easy to hit in normal code: any `filter` ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8469/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8468 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8468/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8468/comments | https://api.github.com/repos/huggingface/datasets/issues/8468/events | https://github.com/huggingface/datasets/pull/8468 | 5,128,312,016 | PR_kwDODunzps7962H- | 8,468 | Implement `construct_from_string` on `PandasArrayExtensionDtype` | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-12T07:25:39 | 2026-08-12T07:25:39 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8468",
"html_url": "https://github.com/huggingface/datasets/pull/8468",
"diff_url": "https://github.com/huggingface/datasets/pull/8468.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8468.patch",
"merged_at": null
} | Fixes #8467.
## The bug
`PandasArrayExtensionDtype` never implements `construct_from_string`, so it inherits the base `ExtensionDtype` version:
```python
@classmethod
def construct_from_string(cls, string):
assert isinstance(cls.name, str), (cls, type(cls.name))
```
`name` is an instance `@property` here, becau... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8468/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8467 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8467/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8467/comments | https://api.github.com/repos/huggingface/datasets/issues/8467/events | https://github.com/huggingface/datasets/issues/8467 | 5,128,306,077 | I_kwDODunzps8AAAABMau9nQ | 8,467 | PandasArrayExtensionDtype has no construct_from_string, so comparing the dtype to any string raises AssertionError | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-12T07:24:51 | 2026-08-12T07:25:58 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`PandasArrayExtensionDtype` does not implement `construct_from_string`, so it inherits the base `ExtensionDtype` version, which opens with:
```python
@classmethod
def construct_from_string(cls, string):
assert isinstance(cls.name, str), (cls, type(cls.name))
```
`name` is an instance `@prope... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8467/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8466 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8466/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8466/comments | https://api.github.com/repos/huggingface/datasets/issues/8466/events | https://github.com/huggingface/datasets/pull/8466 | 5,128,026,958 | PR_kwDODunzps7957wa | 8,466 | Raise a clear error for a deeply nested mesh file | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-12T06:46:53 | 2026-08-12T06:46:53 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8466",
"html_url": "https://github.com/huggingface/datasets/pull/8466",
"diff_url": "https://github.com/huggingface/datasets/pull/8466.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8466.patch",
"merged_at": null
} | Fixes #8246.
## The bug
A GLB file carries its scene description as an embedded JSON chunk, and that JSON can be nested arbitrarily deeply. Parsing it exhausts the interpreter stack, so `Mesh.decode_example` propagates a bare
```
RecursionError: maximum recursion depth exceeded while decoding a JSON object from a un... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8466/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8465 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8465/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8465/comments | https://api.github.com/repos/huggingface/datasets/issues/8465/events | https://github.com/huggingface/datasets/issues/8465 | 5,127,966,298 | I_kwDODunzps8AAAABMaaOWg | 8,465 | PandasArrayExtensionArray.take coerces fill_value before checking whether anything is filled, breaking boolean masks on integer array columns | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 0 | 2026-08-12T06:38:18 | 2026-08-12T06:38:37 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
`PandasArrayExtensionArray.take` coerces `fill_value` to the array's value type **before** checking whether any element will actually be filled:
https://github.com/huggingface/datasets/blob/main/src/datasets/features/features.py#L965-L972
```python
if allow_fill:
fill_value = (
self.... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8465/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8464 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8464/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8464/comments | https://api.github.com/repos/huggingface/datasets/issues/8464/events | https://github.com/huggingface/datasets/pull/8464 | 5,127,916,520 | PR_kwDODunzps795lBw | 8,464 | Make `PandasArrayExtensionDtype._metadata` a tuple | {
"login": "shashvat-singham",
"id": 78735607,
"node_id": "MDQ6VXNlcjc4NzM1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/78735607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashvat-singham",
"html_url": "https://github.com/shashvat-singham",
"followers_url": "https://... | [] | open | false | [] | null | 1 | 2026-08-12T06:30:49 | 2026-08-23T02:13:52 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8464",
"html_url": "https://github.com/huggingface/datasets/pull/8464",
"diff_url": "https://github.com/huggingface/datasets/pull/8464.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8464.patch",
"merged_at": null
} | Fixes #8375.
## The bug
`PandasArrayExtensionDtype._metadata` was the plain string `"value_type"`. Pandas expects a **tuple of attribute names** and iterates over it in `ExtensionDtype.__eq__` and `ExtensionDtype.__hash__`:
```python
all(getattr(self, attr) == getattr(other, attr) for attr in self._metadata)
```
A ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8464/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8463 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8463/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8463/comments | https://api.github.com/repos/huggingface/datasets/issues/8463/events | https://github.com/huggingface/datasets/issues/8463 | 5,126,995,924 | I_kwDODunzps8AAAABMZe_1A | 8,463 | very bad quality images in most of them | {
"login": "anis-mselmi",
"id": 209621762,
"node_id": "U_kgDODH6TAg",
"avatar_url": "https://avatars.githubusercontent.com/u/209621762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anis-mselmi",
"html_url": "https://github.com/anis-mselmi",
"followers_url": "https://api.github.com/users/... | [] | open | false | [] | null | 0 | 2026-08-12T03:49:23 | 2026-08-12T03:49:23 | null | null | NONE | [] | null | null | null | null | ### Describe the bug
very bad quality images in most of them
### Steps to reproduce the bug
.
### Expected behavior
.
### Environment info
. | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8463/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8462 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8462/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8462/comments | https://api.github.com/repos/huggingface/datasets/issues/8462/events | https://github.com/huggingface/datasets/pull/8462 | 5,121,965,559 | PR_kwDODunzps79mZju | 8,462 | Fix info from data_dir/data_files or malformed yaml | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | [] | null | 1 | 2026-08-11T15:45:50 | 2026-08-12T14:56:52 | 2026-08-12T14:56:49 | null | MEMBER | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8462",
"html_url": "https://github.com/huggingface/datasets/pull/8462",
"diff_url": "https://github.com/huggingface/datasets/pull/8462.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8462.patch",
"merged_at": "2026-08-12T14:56... | - don't reuse the info from a config if data_files or data_dir are passed
- ignore malformed split info in yaml
cc @anton-l | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8462/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8462/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8461 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8461/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8461/comments | https://api.github.com/repos/huggingface/datasets/issues/8461/events | https://github.com/huggingface/datasets/pull/8461 | 5,121,551,071 | PR_kwDODunzps79lDrU | 8,461 | Add test for tokenizer stride with Dataset.map (issue #4769) | {
"login": "imjimit07",
"id": 78078749,
"node_id": "MDQ6VXNlcjc4MDc4NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/78078749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imjimit07",
"html_url": "https://github.com/imjimit07",
"followers_url": "https://api.github.com/users/... | [] | open | false | [] | null | 1 | 2026-08-11T15:00:25 | 2026-08-13T15:02:47 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8461",
"html_url": "https://github.com/huggingface/datasets/pull/8461",
"diff_url": "https://github.com/huggingface/datasets/pull/8461.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8461.patch",
"merged_at": null
} | ## Problem
When processing SQuAD v1.1 datasets with `max_seq_length=128` and `doc_stride=96` using transformers' QA pipeline, users encountered an assertion failure:
```
thread '<unnamed>' panicked at 'assertion failed: stride < max_len'
```
This prevented legitimate use of the stride parameter in question-answering p... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8461/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8460 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8460/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8460/comments | https://api.github.com/repos/huggingface/datasets/issues/8460/events | https://github.com/huggingface/datasets/pull/8460 | 5,117,338,188 | PR_kwDODunzps79XWqT | 8,460 | Fix Audio encoding for path rows with null arrays | {
"login": "Losera",
"id": 141312508,
"node_id": "U_kgDOCGxB_A",
"avatar_url": "https://avatars.githubusercontent.com/u/141312508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Losera",
"html_url": "https://github.com/Losera",
"followers_url": "https://api.github.com/users/Losera/follower... | [] | open | false | [] | null | 0 | 2026-08-11T06:26:20 | 2026-08-14T07:24:03 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8460",
"html_url": "https://github.com/huggingface/datasets/pull/8460",
"diff_url": "https://github.com/huggingface/datasets/pull/8460.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8460.patch",
"merged_at": null
} | ## Summary
- treat a null `array` value as absent in `Audio.encode_example()`, so path-backed rows reach the existing path branch
- cover the null-array case in the existing `encode_example` and `cast_to_audio_features` parametrize lists
## Problem
Casting a struct column to `Audio()` fails when a row is path-backed... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8460/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8459 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8459/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8459/comments | https://api.github.com/repos/huggingface/datasets/issues/8459/events | https://github.com/huggingface/datasets/pull/8459 | 5,115,089,650 | PR_kwDODunzps79QNXm | 8,459 | Fix Dataset.to_json() truncating/corrupting non-millisecond temporal columns | {
"login": "aakif-ms",
"id": 144618319,
"node_id": "U_kgDOCJ6zTw",
"avatar_url": "https://avatars.githubusercontent.com/u/144618319?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aakif-ms",
"html_url": "https://github.com/aakif-ms",
"followers_url": "https://api.github.com/users/aakif-ms/... | [] | open | false | [] | null | 2 | 2026-08-10T23:07:21 | 2026-08-12T22:02:19 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8459",
"html_url": "https://github.com/huggingface/datasets/pull/8459",
"diff_url": "https://github.com/huggingface/datasets/pull/8459.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8459.patch",
"merged_at": null
} | Fixes #8390
## Problem
`Dataset.to_json()` writes every timestamp/duration column through `pandas.DataFrame.to_json()`, which only supports a single global `date_unit` for the entire call (defaulting to milliseconds).
This ignores each column's actual Arrow unit (`s`/`ms`/`us`/`ns`), causing a `to_json()` → `f... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8459/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8458 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8458/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8458/comments | https://api.github.com/repos/huggingface/datasets/issues/8458/events | https://github.com/huggingface/datasets/issues/8458 | 5,110,353,136 | I_kwDODunzps8AAAABMJnM8A | 8,458 | Replace httpx with httpx2 | {
"login": "Aegdesil",
"id": 7816329,
"node_id": "MDQ6VXNlcjc4MTYzMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7816329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aegdesil",
"html_url": "https://github.com/Aegdesil",
"followers_url": "https://api.github.com/users/Aegde... | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"archived_at": null,
"archived_by": null
... | open | false | [] | null | 3 | 2026-08-10T13:01:44 | 2026-08-16T15:56:33 | null | null | NONE | [] | null | null | null | null | ### Feature request
Replace the httpx library with the [httpx2](https://github.com/pydantic/httpx2) fork, maintained by Pydantic.
### Motivation
Httpx has not been released since December 2024, and has closed all public access to Issues / Discussions / PRs, this raises questions about the actual state of maintenance... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8458/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | null | false |
https://api.github.com/repos/huggingface/datasets/issues/8457 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8457/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8457/comments | https://api.github.com/repos/huggingface/datasets/issues/8457/events | https://github.com/huggingface/datasets/pull/8457 | 5,105,363,162 | PR_kwDODunzps78w-i9 | 8,457 | fix(types): expose PyTorch dataset compatibility | {
"login": "uuzzrm",
"id": 267482477,
"node_id": "U_kgDOD_F1bQ",
"avatar_url": "https://avatars.githubusercontent.com/u/267482477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uuzzrm",
"html_url": "https://github.com/uuzzrm",
"followers_url": "https://api.github.com/users/uuzzrm/follower... | [] | open | false | [] | null | 1 | 2026-08-09T23:58:43 | 2026-08-14T23:43:27 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8457",
"html_url": "https://github.com/huggingface/datasets/pull/8457",
"diff_url": "https://github.com/huggingface/datasets/pull/8457.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8457.patch",
"merged_at": null
} | ## What does this PR do?
Make `Dataset` and `IterableDataset` visible to static type checkers as compatible with PyTorch's dataset classes, so Pyright accepts both map-style and iterable datasets as `torch.utils.data.DataLoader` inputs, including `dataset.with_format(torch)`. This addresses the typing gap described in... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8457/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8456 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8456/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8456/comments | https://api.github.com/repos/huggingface/datasets/issues/8456/events | https://github.com/huggingface/datasets/pull/8456 | 5,103,866,382 | PR_kwDODunzps78sbms | 8,456 | Fix Dataset.map(batched=True, drop_last_batch=True) returning unchanged input when dataset is smaller than batch_size | {
"login": "mayuriphad",
"id": 163738104,
"node_id": "U_kgDOCcJx-A",
"avatar_url": "https://avatars.githubusercontent.com/u/163738104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayuriphad",
"html_url": "https://github.com/mayuriphad",
"followers_url": "https://api.github.com/users/may... | [] | open | false | [] | null | 1 | 2026-08-09T17:43:50 | 2026-08-19T01:44:39 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8456",
"html_url": "https://github.com/huggingface/datasets/pull/8456",
"diff_url": "https://github.com/huggingface/datasets/pull/8456.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8456.patch",
"merged_at": null
} | Fixes #8386
## Bug
When `drop_last_batch=True` and the dataset has fewer rows than `batch_size`, `Dataset.map(batched=True, ...)` was returning the **input dataset unchanged** instead of an empty dataset. Every batch is incomplete in this situation, so the mapped function is never invoked and `update_data` stays fals... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8456/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8455 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8455/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8455/comments | https://api.github.com/repos/huggingface/datasets/issues/8455/events | https://github.com/huggingface/datasets/pull/8455 | 5,101,882,207 | PR_kwDODunzps78mb3T | 8,455 | close input stream in _in_memory_arrow_table_from_file to prevent file descriptor leaks | {
"login": "HassanRady",
"id": 48225007,
"node_id": "MDQ6VXNlcjQ4MjI1MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/48225007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HassanRady",
"html_url": "https://github.com/HassanRady",
"followers_url": "https://api.github.com/use... | [] | open | false | [] | null | 0 | 2026-08-09T09:40:16 | 2026-08-12T07:09:21 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8455",
"html_url": "https://github.com/huggingface/datasets/pull/8455",
"diff_url": "https://github.com/huggingface/datasets/pull/8455.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8455.patch",
"merged_at": null
} | In `src/datasets/table.py`, `_in_memory_arrow_table_from_file` opens a `pa.input_stream(filename)` without a `with` context manager block.
When exceptions occur during stream parsing or when exception tracebacks retain frame variables in memory (e.g., in logging handlers or data loader error queues), local `in_memory... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8455/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8454 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8454/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8454/comments | https://api.github.com/repos/huggingface/datasets/issues/8454/events | https://github.com/huggingface/datasets/pull/8454 | 5,101,287,981 | PR_kwDODunzps78kqeD | 8,454 | Coerce ClassLabel.names to plain str to fix invalid YAML in README.md | {
"login": "RudrenduPaul",
"id": 38769913,
"node_id": "MDQ6VXNlcjM4NzY5OTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/38769913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RudrenduPaul",
"html_url": "https://github.com/RudrenduPaul",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | 0 | 2026-08-09T06:50:20 | 2026-08-12T07:12:01 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8454",
"html_url": "https://github.com/huggingface/datasets/pull/8454",
"diff_url": "https://github.com/huggingface/datasets/pull/8454.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8454.patch",
"merged_at": null
} | Coerce ClassLabel.names to plain str to fix invalid YAML in README.md
Fixes #6919
## Problem
`push_to_hub` can fail with:
```
ValueError: Invalid metadata in README.md.
- Invalid YAML in README.md: unknown tag !<tag:yaml.org,2002:python/tuple> (50:11)
```
This happens whenever a `ClassLabel`'s `names` list contain... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8454/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8453 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8453/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8453/comments | https://api.github.com/repos/huggingface/datasets/issues/8453/events | https://github.com/huggingface/datasets/pull/8453 | 5,100,509,939 | PR_kwDODunzps78iZ8Z | 8,453 | Reject features with different columns in IterableDataset.cast | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:25:09 | 2026-08-12T08:10:02 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8453",
"html_url": "https://github.com/huggingface/datasets/pull/8453",
"diff_url": "https://github.com/huggingface/datasets/pull/8453.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8453.patch",
"merged_at": null
} | `IterableDataset.cast()` assigns the given features directly:
```python
features = _fix_for_backward_compatible_features(features)
info = self._info.copy()
info.features = features
```
There is no check that the columns match the dataset's, which `Dataset.cast()` does perform. The worst case is an **extra** column: i... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8453/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8452 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8452/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8452/comments | https://api.github.com/repos/huggingface/datasets/issues/8452/events | https://github.com/huggingface/datasets/pull/8452 | 5,100,498,434 | PR_kwDODunzps78iXys | 8,452 | Let a dataset with an Audio column be flattened | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:20:57 | 2026-08-09T02:20:57 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8452",
"html_url": "https://github.com/huggingface/datasets/pull/8452",
"diff_url": "https://github.com/huggingface/datasets/pull/8452.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8452.patch",
"merged_at": null
} | `Dataset.flatten()` fails on any dataset that holds a decodable `Audio` column:
```python
from datasets import Dataset, Features, Audio, Value
features = Features({"audio": Audio(), "text": Value("string")})
ds = Dataset.from_dict({"audio": [None], "text": ["a"]}, features=features)
ds.flatten()
```
```
ValueError: ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8452/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8451 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8451/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8451/comments | https://api.github.com/repos/huggingface/datasets/issues/8451/events | https://github.com/huggingface/datasets/pull/8451 | 5,100,493,580 | PR_kwDODunzps78iW3q | 8,451 | Use the documented default batch_size in the batched IterableDataset exports | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 1 | 2026-08-09T02:19:18 | 2026-08-12T16:39:27 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8451",
"html_url": "https://github.com/huggingface/datasets/pull/8451",
"diff_url": "https://github.com/huggingface/datasets/pull/8451.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8451.patch",
"merged_at": null
} | `IterableDataset.to_dict()`, `to_pandas()` and `to_polars()` all document `batch_size` as:
> batch_size (`int`, *optional*): The size (number of rows) of the batches if `batched` is `True`. Defaults to `datasets.config.DEFAULT_MAX_BATCH_SIZE`.
but the default is never applied. `batch_size` (`None`) is passed straight... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8451/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8450 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8450/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8450/comments | https://api.github.com/repos/huggingface/datasets/issues/8450/events | https://github.com/huggingface/datasets/pull/8450 | 5,100,489,505 | PR_kwDODunzps78iWGV | 8,450 | Raise a clear error for values that cannot be encoded as an image | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:17:47 | 2026-08-09T02:17:47 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8450",
"html_url": "https://github.com/huggingface/datasets/pull/8450",
"diff_url": "https://github.com/huggingface/datasets/pull/8450.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8450.patch",
"merged_at": null
} | Putting an unsupported value in an `Image()` column fails with an error from deep inside the encoder rather than a message about the image:
```python
from datasets import Dataset, Features, Image
Dataset.from_dict({"im": [123]}, features=Features({"im": Image()}))
```
```
AttributeError: 'int' object has no attribut... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8450/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8449 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8449/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8449/comments | https://api.github.com/repos/huggingface/datasets/issues/8449/events | https://github.com/huggingface/datasets/pull/8449 | 5,100,489,395 | PR_kwDODunzps78iWE_ | 8,449 | Check the per-split arguments of DatasetDict | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:17:44 | 2026-08-09T02:17:44 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8449",
"html_url": "https://github.com/huggingface/datasets/pull/8449",
"diff_url": "https://github.com/huggingface/datasets/pull/8449.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8449.patch",
"merged_at": null
} | `DatasetDict.map`, `filter`, `flatten_indices`, `sort` and `shuffle` take per-split arguments — `cache_file_names`, `indices_cache_file_names`, `seeds`, `generators` — documented as *"You have to provide one ... per dataset in the dataset dictionary"*. None of them checks that, they just index the dict:
```python
from... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8449/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8448 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8448/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8448/comments | https://api.github.com/repos/huggingface/datasets/issues/8448/events | https://github.com/huggingface/datasets/pull/8448 | 5,100,481,254 | PR_kwDODunzps78iUkl | 8,448 | Reject an unknown column in IterableDataset.cast_column | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:15:05 | 2026-08-09T02:15:05 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8448",
"html_url": "https://github.com/huggingface/datasets/pull/8448",
"diff_url": "https://github.com/huggingface/datasets/pull/8448.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8448.patch",
"merged_at": null
} | `IterableDataset.cast_column()` writes the feature straight into the features dict:
```python
feature = _fix_for_backward_compatible_features(feature)
info = self._info.copy()
info.features[column] = feature
```
There is no check that `column` is actually a column of the dataset, so a typo doesn't fail — it **invents... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8448/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8447 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8447/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8447/comments | https://api.github.com/repos/huggingface/datasets/issues/8447/events | https://github.com/huggingface/datasets/pull/8447 | 5,100,479,684 | PR_kwDODunzps78iUS5 | 8,447 | Reject an invalid axis in concatenate_datasets | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:14:35 | 2026-08-12T08:00:28 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8447",
"html_url": "https://github.com/huggingface/datasets/pull/8447",
"diff_url": "https://github.com/huggingface/datasets/pull/8447.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8447.patch",
"merged_at": null
} | `concatenate_datasets()` documents `axis` as `{0, 1}`, but does not check it. Any other value silently returns **only the first dataset**:
```python
from datasets import Dataset, concatenate_datasets
a = Dataset.from_dict({"a": [1, 2, 3]})
b = Dataset.from_dict({"b": [4, 5, 6]})
concatenate_datasets([a, b], axis=2).... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8447/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8446 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8446/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8446/comments | https://api.github.com/repos/huggingface/datasets/issues/8446/events | https://github.com/huggingface/datasets/pull/8446 | 5,100,471,038 | PR_kwDODunzps78iSqM | 8,446 | Reject a non-positive batch_size in the Dataset export methods | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:11:35 | 2026-08-12T07:53:45 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8446",
"html_url": "https://github.com/huggingface/datasets/pull/8446",
"diff_url": "https://github.com/huggingface/datasets/pull/8446.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8446.patch",
"merged_at": null
} | All the `Dataset.to_*` exports batch with `range(0, len(self), batch_size)`. A negative `batch_size` makes that range empty, so the data is silently dropped — including when writing to a file:
```python
from datasets import Dataset
ds = Dataset.from_dict({"col_1": [0, 1, 2]})
len(list(ds.to_dict(batch_size=-1, batch... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8446/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8445 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8445/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8445/comments | https://api.github.com/repos/huggingface/datasets/issues/8445/events | https://github.com/huggingface/datasets/pull/8445 | 5,100,469,112 | PR_kwDODunzps78iST2 | 8,445 | Fix jax formatting of temporal and decimal columns | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:10:56 | 2026-08-09T02:10:56 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8445",
"html_url": "https://github.com/huggingface/datasets/pull/8445",
"diff_url": "https://github.com/huggingface/datasets/pull/8445.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8445.patch",
"merged_at": null
} | Temporal columns are either rejected or **silently corrupted** by the jax format.
### 1. Timestamps, dates, times and decimals raise
```python
import datetime
from datasets import Dataset
ds = Dataset.from_dict({"t": [datetime.datetime(2020, 1, 1)]})
ds.with_format("jax")[0]["t"]
```
```
TypeError: Error interpreti... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8445/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8444 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8444/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8444/comments | https://api.github.com/repos/huggingface/datasets/issues/8444/events | https://github.com/huggingface/datasets/pull/8444 | 5,100,467,810 | PR_kwDODunzps78iSDy | 8,444 | Fix StopIteration when the JSON data files are empty | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 1 | 2026-08-09T02:10:30 | 2026-08-15T13:31:04 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8444",
"html_url": "https://github.com/huggingface/datasets/pull/8444",
"diff_url": "https://github.com/huggingface/datasets/pull/8444.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8444.patch",
"merged_at": null
} | Feature inference in `json.py` did `next(iter(...))` catching only `FullReadDisallowed`, so an empty `.jsonl` leaked a bare `StopIteration` out of `load_dataset` (the PEP 479 hazard).
This brings `json.py` in line with its neighbours rather than adding a special case: `arrow.py` and `parquet.py` already infer with a `... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8444/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8443 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8443/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8443/comments | https://api.github.com/repos/huggingface/datasets/issues/8443/events | https://github.com/huggingface/datasets/pull/8443 | 5,100,459,074 | PR_kwDODunzps78iQZs | 8,443 | Validate by_column and fix the error message in Dataset.batch | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:07:28 | 2026-08-12T07:53:47 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8443",
"html_url": "https://github.com/huggingface/datasets/pull/8443",
"diff_url": "https://github.com/huggingface/datasets/pull/8443.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8443.patch",
"merged_at": null
} | Two small problems in `Dataset.batch()`.
**1. The error names the wrong class.**
```python
ds.batch()
# ValueError: IterableDataset.batch() misses `batch_size` or `by_column` argument.
```
`IterableDataset.batch()` has its own copy of the same check, so this occurrence in `arrow_dataset.py` is just a copy-paste that... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8443/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8442 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8442/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8442/comments | https://api.github.com/repos/huggingface/datasets/issues/8442/events | https://github.com/huggingface/datasets/pull/8442 | 5,100,454,767 | PR_kwDODunzps78iPlj | 8,442 | Accept numpy integers as train_size / test_size in train_test_split | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 1 | 2026-08-09T02:06:06 | 2026-08-12T11:13:16 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8442",
"html_url": "https://github.com/huggingface/datasets/pull/8442",
"diff_url": "https://github.com/huggingface/datasets/pull/8442.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8442.patch",
"merged_at": null
} | `Dataset.train_test_split()` uses `isinstance(..., int)` / `isinstance(..., float)` to tell "a number of rows" from "a fraction", and rejects everything else:
```python
if train_size is not None and not isinstance(train_size, (int, float)):
raise ValueError(f"Invalid value for train_size: {train_size} of type {typ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8442/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8441 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8441/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8441/comments | https://api.github.com/repos/huggingface/datasets/issues/8441/events | https://github.com/huggingface/datasets/pull/8441 | 5,100,453,439 | PR_kwDODunzps78iPVf | 8,441 | Reject a non-positive buffer_size in IterableDataset.shuffle | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:05:37 | 2026-08-12T10:32:39 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8441",
"html_url": "https://github.com/huggingface/datasets/pull/8441",
"diff_url": "https://github.com/huggingface/datasets/pull/8441.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8441.patch",
"merged_at": null
} | `IterableDataset.shuffle()` doesn't check `buffer_size`, and the two bad values fail in very different ways.
## A negative buffer_size buffers the whole dataset
`BufferShuffledExamplesIterable.__iter__` fills the buffer with an equality test:
```python
for x in self.ex_iterable:
if len(mem_buffer) == buffer_size... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8441/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8440 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8440/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8440/comments | https://api.github.com/repos/huggingface/datasets/issues/8440/events | https://github.com/huggingface/datasets/pull/8440 | 5,100,449,140 | PR_kwDODunzps78iOgu | 8,440 | Don't crash when formatting temporal and decimal columns to torch | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:04:04 | 2026-08-09T02:06:08 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8440",
"html_url": "https://github.com/huggingface/datasets/pull/8440",
"diff_url": "https://github.com/huggingface/datasets/pull/8440.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8440.patch",
"merged_at": null
} | A dataset with a temporal or decimal column cannot be used with the torch format at all:
```python
import datetime
from datasets import Dataset
ds = Dataset.from_dict({"t": [datetime.datetime(2020, 1, 1)]})
ds.with_format("torch")[0]["t"]
```
```
TypeError: can't convert np.ndarray of type numpy.datetime64.
The only... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8440/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8439 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8439/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8439/comments | https://api.github.com/repos/huggingface/datasets/issues/8439/events | https://github.com/huggingface/datasets/pull/8439 | 5,100,448,909 | PR_kwDODunzps78iOeF | 8,439 | Don't include writer_batch_size in the fingerprint | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:03:59 | 2026-08-09T02:03:59 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8439",
"html_url": "https://github.com/huggingface/datasets/pull/8439",
"diff_url": "https://github.com/huggingface/datasets/pull/8439.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8439.patch",
"merged_at": null
} | `writer_batch_size` is documented as
> Number of rows per write operation for the cache file writer. This value is a good trade-off between memory usage during the processing, and processing speed.
It cannot change the data of the resulting dataset — only how it is written. Yet it is part of the fingerprint of `map`,... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8439/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8438 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8438/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8438/comments | https://api.github.com/repos/huggingface/datasets/issues/8438/events | https://github.com/huggingface/datasets/pull/8438 | 5,100,439,854 | PR_kwDODunzps78iMyJ | 8,438 | Validate rank and world_size in split_dataset_by_node for IterableDataset | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T02:00:57 | 2026-08-12T10:32:41 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8438",
"html_url": "https://github.com/huggingface/datasets/pull/8438",
"diff_url": "https://github.com/huggingface/datasets/pull/8438.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8438.patch",
"merged_at": null
} | `split_dataset_by_node()` behaves differently on the two dataset types for invalid `rank` / `world_size`. The map-style version delegates to `Dataset.shard()`, which rejects them:
```python
def _split_by_node_map_style_dataset(dataset, rank, world_size):
return dataset.shard(num_shards=world_size, index=rank, cont... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8438/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8437 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8437/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8437/comments | https://api.github.com/repos/huggingface/datasets/issues/8437/events | https://github.com/huggingface/datasets/pull/8437 | 5,100,431,684 | PR_kwDODunzps78iLQV | 8,437 | Raise when a batched filter function returns the wrong number of values | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:58:05 | 2026-08-09T01:58:05 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8437",
"html_url": "https://github.com/huggingface/datasets/pull/8437",
"diff_url": "https://github.com/huggingface/datasets/pull/8437.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8437.patch",
"merged_at": null
} | `Dataset.filter(..., batched=True)` builds the kept indices with a `zip`:
```python
indices_array = [i for i, to_keep in zip(indices, mask) if to_keep]
```
`zip` stops at the shorter of its arguments, so a `function` that does not return exactly one value per example is not an error — it silently changes the result:
... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8437/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8436 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8436/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8436/comments | https://api.github.com/repos/huggingface/datasets/issues/8436/events | https://github.com/huggingface/datasets/pull/8436 | 5,100,424,782 | PR_kwDODunzps78iKAc | 8,436 | Validate seed and generator in Dataset.train_test_split | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:55:34 | 2026-08-09T01:55:34 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8436",
"html_url": "https://github.com/huggingface/datasets/pull/8436",
"diff_url": "https://github.com/huggingface/datasets/pull/8436.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8436.patch",
"merged_at": null
} | `Dataset.shuffle()` validates its two randomness parameters:
```python
if seed is not None and generator is not None:
raise ValueError("Both `seed` and `generator` were provided. Please specify just one of them.")
if generator is not None and not isinstance(generator, np.random.Generator):
raise ValueError("T... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8436/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8435 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8435/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8435/comments | https://api.github.com/repos/huggingface/datasets/issues/8435/events | https://github.com/huggingface/datasets/pull/8435 | 5,100,420,317 | PR_kwDODunzps78iJJ0 | 8,435 | Validate num_shards in Dataset.to_iterable_dataset | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:53:55 | 2026-08-09T02:22:34 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8435",
"html_url": "https://github.com/huggingface/datasets/pull/8435",
"diff_url": "https://github.com/huggingface/datasets/pull/8435.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8435.patch",
"merged_at": null
} | `Dataset.to_iterable_dataset(num_shards=0)` (or any negative value) returns an `IterableDataset` that silently yields **nothing**:
```python
from datasets import Dataset
ds = Dataset.from_dict({"col_1": [1, 2, 3]})
list(ds.to_iterable_dataset(num_shards=0)) # [] -- no error
list(ds.to_iterable_dataset(num_shards=... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8435/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8434 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8434/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8434/comments | https://api.github.com/repos/huggingface/datasets/issues/8434/events | https://github.com/huggingface/datasets/pull/8434 | 5,100,419,066 | PR_kwDODunzps78iI6a | 8,434 | Fix exporting an IterableDataset that has no examples | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:53:27 | 2026-08-09T01:53:27 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8434",
"html_url": "https://github.com/huggingface/datasets/pull/8434",
"diff_url": "https://github.com/huggingface/datasets/pull/8434.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8434.patch",
"merged_at": null
} | Every conversion/export method of `IterableDataset` materializes the dataset with `pa.concat_tables()` over its Arrow batches:
```python
table = pa.concat_tables(list(self.with_format("arrow").iter(batch_size=1000)))
return Dataset(table, fingerprint="unset").to_list()
```
If the dataset doesn't yield any example the... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8434/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8433 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8433/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8433/comments | https://api.github.com/repos/huggingface/datasets/issues/8433/events | https://github.com/huggingface/datasets/pull/8433 | 5,100,416,653 | PR_kwDODunzps78iIcD | 8,433 | Validate num_shards in Dataset.save_to_disk | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:52:33 | 2026-08-09T01:52:33 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8433",
"html_url": "https://github.com/huggingface/datasets/pull/8433",
"diff_url": "https://github.com/huggingface/datasets/pull/8433.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8433.patch",
"merged_at": null
} | `Dataset.save_to_disk()` accepts `num_shards`, but never checks that it is positive. With `num_shards=0` (or a negative value) it reports success while writing **no data file at all**:
```python
from datasets import Dataset, load_from_disk
ds = Dataset.from_dict({"col_1": [1, 2, 3]})
ds.save_to_disk("dir", num_shards... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8433/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8432 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8432/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8432/comments | https://api.github.com/repos/huggingface/datasets/issues/8432/events | https://github.com/huggingface/datasets/pull/8432 | 5,100,407,352 | PR_kwDODunzps78iGpt | 8,432 | Fix numpy formatting of a list column whose first row is null | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:49:07 | 2026-08-09T01:49:07 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8432",
"html_url": "https://github.com/huggingface/datasets/pull/8432",
"diff_url": "https://github.com/huggingface/datasets/pull/8432.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8432.patch",
"merged_at": null
} | Formatting a list column to numpy or torch crashes when the **first** row is null:
```python
from datasets import Dataset, Features, List, Value
ds = Dataset.from_dict({"c": [None, [3, 4]]}, features=Features({"c": List(Value("int64"))}))
ds.with_format("numpy")[:]["c"]
```
```
AttributeError: 'NoneType' object has ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8432/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8431 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8431/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8431/comments | https://api.github.com/repos/huggingface/datasets/issues/8431/events | https://github.com/huggingface/datasets/pull/8431 | 5,100,394,795 | PR_kwDODunzps78iEQi | 8,431 | Fix the archive member path check against a sibling output directory | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:44:18 | 2026-08-09T01:44:18 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8431",
"html_url": "https://github.com/huggingface/datasets/pull/8431",
"diff_url": "https://github.com/huggingface/datasets/pull/8431.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8431.patch",
"merged_at": null
} | The `safemembers()` guards that implement the CVE-2007-4559 mitigation compare the resolved member path to the output directory with a plain `str.startswith()`:
```python
def badpath(path: str, base: str) -> bool:
# joinpath will ignore base if path is absolute
return not resolved(os.path.join(base, path)).sta... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8431/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8430 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8430/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8430/comments | https://api.github.com/repos/huggingface/datasets/issues/8430/events | https://github.com/huggingface/datasets/pull/8430 | 5,100,363,245 | PR_kwDODunzps78h-bS | 8,430 | Fix Dataset.flatten with max_depth <= 1 | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:33:04 | 2026-08-09T01:48:28 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8430",
"html_url": "https://github.com/huggingface/datasets/pull/8430",
"diff_url": "https://github.com/huggingface/datasets/pull/8430.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8430.patch",
"merged_at": null
} | `Dataset.flatten()` accepts a `max_depth` argument (also exposed through `DatasetDict.flatten()`), but any value `<= 1` crashes:
```python
from datasets import Dataset
Dataset.from_dict({"a": [{"b": {"c": 1}}]}).flatten(max_depth=1)
# UnboundLocalError: cannot access local variable 'depth' where it is not associated ... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8430/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8429 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8429/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8429/comments | https://api.github.com/repos/huggingface/datasets/issues/8429/events | https://github.com/huggingface/datasets/pull/8429 | 5,100,349,360 | PR_kwDODunzps78h720 | 8,429 | Reject a non-positive batch_size in Dataset.iter | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:28:01 | 2026-08-09T01:28:01 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8429",
"html_url": "https://github.com/huggingface/datasets/pull/8429",
"diff_url": "https://github.com/huggingface/datasets/pull/8429.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8429.patch",
"merged_at": null
} | `Dataset.iter(0)` never returns on a dataset without an indices mapping:
```python
from datasets import Dataset
ds = Dataset.from_dict({"i": list(range(5))})
next(ds.iter(0)) # hangs forever
```
The fast path calls `table_iter(self.data, batch_size=0)`, which asks pyarrow for chunks of `max_chunksize=0`; every chu... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8429/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8428 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8428/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8428/comments | https://api.github.com/repos/huggingface/datasets/issues/8428/events | https://github.com/huggingface/datasets/pull/8428 | 5,100,348,873 | PR_kwDODunzps78h7ww | 8,428 | Keep the column order in Features.flatten() | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:27:50 | 2026-08-09T01:27:50 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8428",
"html_url": "https://github.com/huggingface/datasets/pull/8428",
"diff_url": "https://github.com/huggingface/datasets/pull/8428.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8428.patch",
"merged_at": null
} | `Features.flatten()` and `Dataset.flatten()` disagree on the resulting column order:
```python
from datasets import Dataset, Features, Value
features = Features({"a": Value("int64"), "s": {"x": Value("string")}, "l": Value("int64")})
ds = Dataset.from_dict({"a": [1], "s": [{"x": "q"}], "l": [2]}, features=features)
... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8428/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8427 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8427/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8427/comments | https://api.github.com/repos/huggingface/datasets/issues/8427/events | https://github.com/huggingface/datasets/pull/8427 | 5,100,334,562 | PR_kwDODunzps78h5C5 | 8,427 | Validate the arguments of IterableDataset.shard | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:23:05 | 2026-08-09T01:23:05 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8427",
"html_url": "https://github.com/huggingface/datasets/pull/8427",
"diff_url": "https://github.com/huggingface/datasets/pull/8427.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8427.patch",
"merged_at": null
} | `IterableDataset.shard()` doesn't validate its arguments, so invalid calls either return the wrong data silently or crash with a low-level error from an internal helper. `Dataset.shard()` already validates the index.
```python
ds = Dataset.from_dict({"a": range(20)}).to_iterable_dataset(num_shards=4)
ds.shard(num_sha... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8427/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8426 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8426/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8426/comments | https://api.github.com/repos/huggingface/datasets/issues/8426/events | https://github.com/huggingface/datasets/pull/8426 | 5,100,333,579 | PR_kwDODunzps78h42r | 8,426 | Fix casting a chunked array that has no chunk | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:22:43 | 2026-08-09T01:22:43 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8426",
"html_url": "https://github.com/huggingface/datasets/pull/8426",
"diff_url": "https://github.com/huggingface/datasets/pull/8426.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8426.patch",
"merged_at": null
} | A batched `map` on an arrow-formatted dataset crashes when the function filters out every row of a batch and the output features are given explicitly:
```python
import pyarrow.compute as pc
from datasets import Dataset, Features, Value
ds = Dataset.from_dict({"a": [1, 2, 3, 4]}).with_format("arrow")
ds.map(
lambd... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8426/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8425 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8425/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8425/comments | https://api.github.com/repos/huggingface/datasets/issues/8425/events | https://github.com/huggingface/datasets/pull/8425 | 5,100,317,104 | PR_kwDODunzps78h1xs | 8,425 | Return a new Dataset when transforming a dataset with no rows | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:16:45 | 2026-08-09T01:16:45 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8425",
"html_url": "https://github.com/huggingface/datasets/pull/8425",
"diff_url": "https://github.com/huggingface/datasets/pull/8425.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8425.patch",
"merged_at": null
} | `Dataset.map`, `.filter`, `.select`, `.sort`, `.shuffle` and `.train_test_split` short-circuit when the dataset has no rows and return `self` — the very same object. `train_test_split` even returns that same object as *both* splits.
Because `set_format` / `set_transform` / `reset_format` / `add_faiss_index` mutate a d... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8425/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8424 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8424/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8424/comments | https://api.github.com/repos/huggingface/datasets/issues/8424/events | https://github.com/huggingface/datasets/pull/8424 | 5,100,302,571 | PR_kwDODunzps78hzF4 | 8,424 | Encode the column in Dataset.add_column when a feature is given | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:11:48 | 2026-08-09T01:11:48 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8424",
"html_url": "https://github.com/huggingface/datasets/pull/8424",
"diff_url": "https://github.com/huggingface/datasets/pull/8424.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8424.patch",
"merged_at": null
} | `Dataset.add_column()` takes a `feature` argument documented as the "column datatype", but it is passed directly as the arrow schema of `InMemoryTable.from_pydict()`. That only works when the raw Python values already match the feature's *storage* type, so any feature that encodes its values fails:
```python
from data... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8424/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8423 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8423/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8423/comments | https://api.github.com/repos/huggingface/datasets/issues/8423/events | https://github.com/huggingface/datasets/pull/8423 | 5,100,294,829 | PR_kwDODunzps78hxqF | 8,423 | Fix keep_in_memory=True in Dataset.sort and Dataset.train_test_split | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:09:05 | 2026-08-09T01:09:05 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8423",
"html_url": "https://github.com/huggingface/datasets/pull/8423",
"diff_url": "https://github.com/huggingface/datasets/pull/8423.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8423.patch",
"merged_at": null
} | `Dataset.sort()` and `Dataset.train_test_split()` raise as soon as `keep_in_memory=True` is used on a dataset that has cache files — i.e. on anything returned by `load_dataset()` or `load_from_disk()`:
```python
from datasets import Dataset
Dataset.from_dict({"col_1": [3, 1, 2]}).save_to_disk("ds")
ds = Dataset.load_... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8423/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8422 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8422/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8422/comments | https://api.github.com/repos/huggingface/datasets/issues/8422/events | https://github.com/huggingface/datasets/pull/8422 | 5,100,293,775 | PR_kwDODunzps78hxcW | 8,422 | Fix to_pandas() on a dataset with no rows and an ArrayXD column | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:08:42 | 2026-08-09T01:08:42 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8422",
"html_url": "https://github.com/huggingface/datasets/pull/8422",
"diff_url": "https://github.com/huggingface/datasets/pull/8422.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8422.patch",
"merged_at": null
} | Converting a dataset that has no rows and an `ArrayXD` column to pandas raises:
```python
import datasets
from datasets import Dataset, Features, Array2D
features = Features({"foo": Array2D(shape=(2, 2), dtype="float32")})
ds = Dataset.from_dict({"foo": []}, features=features)
ds.to_pandas()
```
```
pyarrow.lib.Arro... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8422/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8421 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8421/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8421/comments | https://api.github.com/repos/huggingface/datasets/issues/8421/events | https://github.com/huggingface/datasets/pull/8421 | 5,100,293,456 | PR_kwDODunzps78hxYV | 8,421 | Validate the columns in IterableDataset.rename_columns | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:08:36 | 2026-08-09T01:08:36 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8421",
"html_url": "https://github.com/huggingface/datasets/pull/8421",
"diff_url": "https://github.com/huggingface/datasets/pull/8421.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8421.patch",
"merged_at": null
} | `IterableDataset.rename_columns()` doesn't check the column names it is given, so when `info.features` is known it can return a dataset whose `features` contradict the examples it yields. The error is only raised much later, by `_rename_columns_fn()`, when the dataset is iterated.
```python
ds = Dataset.from_dict({"a"... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8421/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8420 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8420/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8420/comments | https://api.github.com/repos/huggingface/datasets/issues/8420/events | https://github.com/huggingface/datasets/pull/8420 | 5,100,282,369 | PR_kwDODunzps78hvMN | 8,420 | Keep the dtype of an empty column when formatting to numpy or torch | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:05:16 | 2026-08-09T01:05:16 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8420",
"html_url": "https://github.com/huggingface/datasets/pull/8420",
"diff_url": "https://github.com/huggingface/datasets/pull/8420.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8420.patch",
"merged_at": null
} | An empty column silently changes dtype when formatted to numpy or torch:
```python
from datasets import Dataset
ds = Dataset.from_dict({"a": [1, 2, 3]}).with_format("torch")
print(ds[:]["a"].dtype) # torch.int64
print(ds.filter(lambda x: False)[:]["a"].dtype) # torch.float32 <-- expected to... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8420/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8419 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8419/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8419/comments | https://api.github.com/repos/huggingface/datasets/issues/8419/events | https://github.com/huggingface/datasets/pull/8419 | 5,100,271,993 | PR_kwDODunzps78htLy | 8,419 | Fix label inference for folder-based builders on archives | {
"login": "LeSingh1",
"id": 197028264,
"node_id": "U_kgDOC75pqA",
"avatar_url": "https://avatars.githubusercontent.com/u/197028264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeSingh1",
"html_url": "https://github.com/LeSingh1",
"followers_url": "https://api.github.com/users/LeSingh1/... | [] | open | false | [] | null | 0 | 2026-08-09T01:01:47 | 2026-08-09T01:01:47 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8419",
"html_url": "https://github.com/huggingface/datasets/pull/8419",
"diff_url": "https://github.com/huggingface/datasets/pull/8419.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8419.patch",
"merged_at": null
} | `imagefolder` / `audiofolder` / `videofolder` datasets whose media files live inside a ZIP archive get the wrong labels, and usually fail to build at all.
## The bug
In `_split_generators()` the entries of `files` have two different shapes:
```python
# loose files: (original_file, None, downloaded_file)
files = tup... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/datasets/issues/8419/timeline | null | null | null | null | null | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.