url string | repository_url string | labels_url string | comments_url string | events_url string | html_url string | id int64 | node_id string | number int64 | title string | user dict | labels list | state string | locked bool | assignees list | milestone null | comments list | created_at timestamp[s] | updated_at timestamp[s] | closed_at timestamp[s] | assignee dict | author_association string | issue_field_values list | type null | active_lock_reason null | draft bool | pull_request dict | body string | closed_by dict | reactions dict | timeline_url string | performed_via_github_app null | state_reason string | sub_issues_summary dict | issue_dependencies_summary dict | pinned_comment null | is_pull_request bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | [] | 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 | [] | 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 | [] | 2026-08-19T11:35:39 | 2026-08-19T11:42:25 | 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 | [] | 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... | [] | open | false | [] | null | [] | 2026-08-18T13:56:16 | 2026-08-19T13:03:10 | null | 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": null
} | ## 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... | null | {
"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 | [] | 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 | [] | 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 | [
"This could not fix https://github.com/huggingface/datasets/issues/8491. The `InterruptedError` raised from `file.close()` does not actually need to be processed on the Linux platform as I mentioned in the issue.",
"Yep, you're right: this only fixed the masking, the worker still died on the `InterruptedError`.\n... | 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 | [] | 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 | [
"Reference: \n\n1. https://github.com/boostorg/beast/issues/1445\n2. `man 2 close`:\n```\n Dealing with error returns from close()\n A careful programmer will check the return value of close(), since it is quite possible that errors on a previous write(2) operation are reported only on the final close() that re... | 2026-08-17T06:05:58 | 2026-08-17T06:55:02 | 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... | [] | open | false | [] | null | [] | 2026-08-16T18:58:07 | 2026-08-17T15:50:36 | null | null | NONE | [] | 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": null
} | ## 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... | null | {
"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 | [] | 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 | [] | 2026-08-16T00:58:13 | 2026-08-16T00:58:13 | null | null | NONE | [] | null | null | true | {
"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 | [] | 2026-08-16T00:38:16 | 2026-08-16T00:38:16 | null | null | NONE | [] | null | null | true | {
"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 | [] | 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 | [] | 2026-08-15T23:08:28 | 2026-08-15T23:08:28 | 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 | [] | 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 | [] | 2026-08-15T16:32:03 | 2026-08-16T15:56:29 | 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 | [] | 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 | [
"Thanks for weighing in, but one correction so the report stays accurate: `int2str` does **not** return `None` for an unknown class id. It raises, both for a bare value and inside a list — that path is already covered by the `0 <= v < num_classes` check:\n\n```python\n>>> cl = ClassLabel(names=[\"neg\", \"pos\"])\n... | 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 | [
"🎉 Awesome"
] | 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 | [] | 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 | [] | 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 | [
"@lhoestq, when you have a chance, could you take a look and authorize the CI run? This is a focused fix for #8472, with the overlap with #8446 called out in the description. Thanks!"
] | 2026-08-13T16:47:46 | 2026-08-13T16:48:24 | 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 | [] | 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 | [] | 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 | [] | 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 | [] | 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 | [
"Hi @shashvat-singham i did also try and reproduced it and got the same results described :\n\n```text\nIterableDataset.batch(0/-1) → [5]\nDataset.batch(0/-1) → 1 batch\nbatch(2) → [2, 2, 1] / 3 batches\n```\n\nI’d like to give this a try\n\nThanks\n\n#self-assign"
] | 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 | [
"Follow-up datapoint while this is open: I swept ~28 common operations (`sort`, `unique`, `filter`, `map`, `select`, `shuffle`, `train_test_split`, `concatenate`, `flatten_indices`, `cast`, `class_encode_column`, all the `to_*` exports, `save_to_disk`/`load_from_disk`, the numpy/pandas formatters, `from_generator` ... | 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 | [] | 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 | [] | 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 | [] | 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 | [] | 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 | [] | 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 | [] | 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 | [] | 2026-08-12T06:30:49 | 2026-08-12T06:30:49 | 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 | [] | 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 | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_8462). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 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 | [
"Thanks for the review, addressed your feedback. I added a focused integration test (tests/test_stride_qa.py) that uses the two-argument tokenizer form (question + context) and a ~35-token question to exercise the original failure mode. The test now conditionally xfails when the tokenizers Rust backend panics or ra... | 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 | [] | 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 | [
"Thanks for the thorough review, and for pressure-testing this against a struct case — good catch.\r\n\r\nConfirmed the struct issue locally: the loop only inspects `batch.schema.types` at the top level, so a `struct<inner: timestamp[s]>` column type fails `pa.types.is_timestamp()` and passes through to `to_pandas(... | 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"
}
] | open | false | [] | null | [
"Hi @lhoestq can I work on this",
"I think if we would have to discuss in a https://github.com/huggingface/huggingface_hub/ issue about it and `datasets` could align with what's decided there"
] | 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 | [
"Thanks for the thorough review — the replay of the `__bases__` mutation was super helpful, and the MRO observation was spot on. I went a step further than just documenting it: the runtime shims now drop out of the class statement entirely via PEP 560 `__mro_entries__`, so `Dataset.__mro__` / `Dataset.__bases__` an... | 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 | [
"Thanks for the thorough check. Addressed the two clear-cut ones in 4c8ec30:\n\n- When `features=` is explicitly passed, the empty result is now built from that `features` directly instead of falling back to the input schema.\n- `remove_columns` is now applied to the empty result, so a removed column no longer reap... | 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 | [] | 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 | [] | 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 | [] | 2026-08-09T02:25:09 | 2026-08-12T08:10:02 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:20:57 | 2026-08-09T02:20:57 | null | null | NONE | [] | 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 | [
"You are right, and the conflict with #8446 is the important part — thanks for spotting it. Fixed in e8509c1e1: all three call sites now use `batch_size if batch_size is not None else config.DEFAULT_MAX_BATCH_SIZE`, so a `0` reaches whatever validation exists instead of being quietly swapped for the default.\n\nVer... | 2026-08-09T02:19:18 | 2026-08-12T16:39:27 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:17:47 | 2026-08-09T02:17:47 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:17:44 | 2026-08-09T02:17:44 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:15:05 | 2026-08-09T02:15:05 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:14:35 | 2026-08-12T08:00:28 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:11:35 | 2026-08-12T07:53:45 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:10:56 | 2026-08-09T02:10:56 | null | null | NONE | [] | 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 | [
"Both good points — description rewritten.\n\nYou are right that `next(..., default)` reads as a band-aid on its own; noting that `arrow.py` and `parquet.py` already infer with a `for ... break` loop makes it clear this brings `json.py` in line rather than special-casing it.\n\nAnd the scope point is fair: the titl... | 2026-08-09T02:10:30 | 2026-08-15T13:31:04 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:07:28 | 2026-08-12T07:53:47 | null | null | NONE | [] | 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 | [
"Good catch, thank you — added in 4be591467, and you were right that the comment was wrong. `np.float64` subclasses `float` but `np.float32` and `np.float16` do not, so the comment now says that instead of implying all numpy floats do.\n\nOne wrinkle worth flagging, since it changed how I wrote the test. A narrow f... | 2026-08-09T02:06:06 | 2026-08-12T11:13:16 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:05:37 | 2026-08-12T10:32:39 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:04:04 | 2026-08-09T02:06:08 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:03:59 | 2026-08-09T02:03:59 | null | null | NONE | [] | 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 | [] | 2026-08-09T02:00:57 | 2026-08-12T10:32:41 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:58:05 | 2026-08-09T01:58:05 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:55:34 | 2026-08-09T01:55:34 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:53:55 | 2026-08-09T02:22:34 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:53:27 | 2026-08-09T01:53:27 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:52:33 | 2026-08-09T01:52:33 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:49:07 | 2026-08-09T01:49:07 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:44:18 | 2026-08-09T01:44:18 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:33:04 | 2026-08-09T01:48:28 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:28:01 | 2026-08-09T01:28:01 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:27:50 | 2026-08-09T01:27:50 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:23:05 | 2026-08-09T01:23:05 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:22:43 | 2026-08-09T01:22:43 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:16:45 | 2026-08-09T01:16:45 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:11:48 | 2026-08-09T01:11:48 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:09:05 | 2026-08-09T01:09:05 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:08:42 | 2026-08-09T01:08:42 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:08:36 | 2026-08-09T01:08:36 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:05:16 | 2026-08-09T01:05:16 | null | null | NONE | [] | 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 | [] | 2026-08-09T01:01:47 | 2026-08-09T01:01:47 | null | null | NONE | [] | 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 |
https://api.github.com/repos/huggingface/datasets/issues/8418 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8418/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8418/comments | https://api.github.com/repos/huggingface/datasets/issues/8418/events | https://github.com/huggingface/datasets/pull/8418 | 5,100,259,233 | PR_kwDODunzps78hq0h | 8,418 | Fix DataFrame masking on ArrayXD columns with an integer value type | {
"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 | [] | 2026-08-09T00:57:20 | 2026-08-09T00:57:20 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8418",
"html_url": "https://github.com/huggingface/datasets/pull/8418",
"diff_url": "https://github.com/huggingface/datasets/pull/8418.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8418.patch",
"merged_at": null
} | Selecting rows with a boolean mask on a `DataFrame` that has an `Array2D`/`Array3D`/... column with an integer value type raises:
```python
import datasets, numpy as np
features = datasets.Features({"id": datasets.Value("int64"), "foo": datasets.Array2D(dtype="int32", shape=(2, 2))})
ds = datasets.Dataset.from_dict({... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8418/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/8418/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8417 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8417/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8417/comments | https://api.github.com/repos/huggingface/datasets/issues/8417/events | https://github.com/huggingface/datasets/pull/8417 | 5,098,273,405 | PR_kwDODunzps78brrn | 8,417 | Shutdown ThreadPoolExecutor in CyclingMultiSourcesExamplesIterable | {
"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 | [] | 2026-08-08T15:58:26 | 2026-08-08T15:58:26 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8417",
"html_url": "https://github.com/huggingface/datasets/pull/8417",
"diff_url": "https://github.com/huggingface/datasets/pull/8417.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8417.patch",
"merged_at": null
} | Add missing executor.shutdown(wait=True) call in the finally block of _iter_arrow(), matching the behavior in __iter__ to ensure threads are shut down before cleanup and sleep. | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8417/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/8417/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8416 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8416/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8416/comments | https://api.github.com/repos/huggingface/datasets/issues/8416/events | https://github.com/huggingface/datasets/pull/8416 | 5,097,697,849 | PR_kwDODunzps78Z-OF | 8,416 | Fix cryptic TypeError from ClassLabel.int2str on a string input | {
"login": "hdimer",
"id": 94395445,
"node_id": "U_kgDOBaBcNQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94395445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hdimer",
"html_url": "https://github.com/hdimer",
"followers_url": "https://api.github.com/users/hdimer/followers"... | [] | open | false | [] | null | [
"Thanks, you're right about `[\"1\"]` — fixed in 5500a38, along with a related one you didn't hit: an out-of-range float never got as far as your case, it passed the comparison and then broke the error message's own `{v:d}` formatting.\n\n```\n>>> cl.int2str([2.5])\nValueError: Unknown format code 'd' for object of... | 2026-08-08T13:27:22 | 2026-08-15T11:16:29 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8416",
"html_url": "https://github.com/huggingface/datasets/pull/8416",
"diff_url": "https://github.com/huggingface/datasets/pull/8416.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8416.patch",
"merged_at": null
} | `ClassLabel.int2str("1")` raises a cryptic `TypeError: '<=' not supported between instances of 'int' and 'str'` instead of a clear error.
`int2str` guards its input with `isinstance(values, Iterable)`, but a `str` is iterable, so a string is not wrapped as a single value; the code then iterates over the string's chara... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8416/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/8416/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8415 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8415/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8415/comments | https://api.github.com/repos/huggingface/datasets/issues/8415/events | https://github.com/huggingface/datasets/pull/8415 | 5,091,230,885 | PR_kwDODunzps78Fm6_ | 8,415 | Add initial devcontainer configuration | {
"login": "mo74m3ed",
"id": 71875716,
"node_id": "MDQ6VXNlcjcxODc1NzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/71875716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mo74m3ed",
"html_url": "https://github.com/mo74m3ed",
"followers_url": "https://api.github.com/users/mo7... | [] | open | false | [] | null | [] | 2026-08-07T14:44:30 | 2026-08-16T00:04:06 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8415",
"html_url": "https://github.com/huggingface/datasets/pull/8415",
"diff_url": "https://github.com/huggingface/datasets/pull/8415.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8415.patch",
"merged_at": null
} | null | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8415/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/8415/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8414 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8414/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8414/comments | https://api.github.com/repos/huggingface/datasets/issues/8414/events | https://github.com/huggingface/datasets/pull/8414 | 5,090,218,572 | PR_kwDODunzps78CWen | 8,414 | Fix offline simulation with huggingface_hub 1.27 | {
"login": "hanouticelina",
"id": 36770234,
"node_id": "MDQ6VXNlcjM2NzcwMjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/36770234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanouticelina",
"html_url": "https://github.com/hanouticelina",
"followers_url": "https://api.githu... | [] | closed | false | [] | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_8414). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"✅ looks good to me "
] | 2026-08-07T12:39:32 | 2026-08-10T19:31:41 | 2026-08-10T19:31:39 | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8414",
"html_url": "https://github.com/huggingface/datasets/pull/8414",
"diff_url": "https://github.com/huggingface/datasets/pull/8414.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8414.patch",
"merged_at": "2026-08-10T19:31... | ## Summary
Surfaced by the `huggingface_hub` v1.27.0.rc0 RC test branch, where 6 tests in `tests/test_load.py` fail: [ci-test-huggingface-hub-1.27.0.rc0-release](https://github.com/huggingface/datasets/compare/main...ci-test-huggingface-hub-1.27.0.rc0-release).
They're all offline-simulation tests, and the failures a... | {
"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/8414/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/8414/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8412 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8412/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8412/comments | https://api.github.com/repos/huggingface/datasets/issues/8412/events | https://github.com/huggingface/datasets/pull/8412 | 5,084,411,761 | PR_kwDODunzps77v1RT | 8,412 | Fix IndexError on negative list indices for datasets with an indices mapping | {
"login": "uttam12331",
"id": 159913047,
"node_id": "U_kgDOCYgUVw",
"avatar_url": "https://avatars.githubusercontent.com/u/159913047?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uttam12331",
"html_url": "https://github.com/uttam12331",
"followers_url": "https://api.github.com/users/utt... | [] | open | false | [] | null | [] | 2026-08-06T20:02:13 | 2026-08-06T20:02:13 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8412",
"html_url": "https://github.com/huggingface/datasets/pull/8412",
"diff_url": "https://github.com/huggingface/datasets/pull/8412.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8412.patch",
"merged_at": null
} | ## Summary
In `src/datasets/formatting/formatting.py`, `_query_table_with_indices_mapping`'s iterable branch passes each index directly to `indices.fast_slice(i, 1)`:
```python
return _query_table(table, [indices.fast_slice(i, 1).column(0)[0].as_py() for i in key])
```
`fast_slice` raises `IndexError("Offset must be... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8412/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/8412/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8411 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8411/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8411/comments | https://api.github.com/repos/huggingface/datasets/issues/8411/events | https://github.com/huggingface/datasets/pull/8411 | 5,083,951,373 | PR_kwDODunzps77uYL- | 8,411 | Restore the _legacy_no_dict_keys_sorting branch in Pickler._batch_setitems | {
"login": "ebarkhordar",
"id": 22658149,
"node_id": "MDQ6VXNlcjIyNjU4MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/22658149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ebarkhordar",
"html_url": "https://github.com/ebarkhordar",
"followers_url": "https://api.github.com/... | [] | open | false | [] | null | [] | 2026-08-06T18:40:51 | 2026-08-06T18:40:51 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8411",
"html_url": "https://github.com/huggingface/datasets/pull/8411",
"diff_url": "https://github.com/huggingface/datasets/pull/8411.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8411.patch",
"merged_at": null
} | ### Root cause
`Pickler._legacy_no_dict_keys_sorting` lost its only reader in #7817. That PR rewrote `_batch_setitems` to accept the argument Python 3.14 passes, and in the same hunk dropped the early return:
```diff
- def _batch_setitems(self, items):
- if self._legacy_no_dict_keys_sorting:
- re... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8411/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/8411/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8410 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8410/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8410/comments | https://api.github.com/repos/huggingface/datasets/issues/8410/events | https://github.com/huggingface/datasets/issues/8410 | 5,083,948,009 | I_kwDODunzps8AAAABLwbj6Q | 8,410 | _legacy_no_dict_keys_sorting has no reader since #7817, so the 2.15.0 legacy cache lookup computes the wrong config_id | {
"login": "ebarkhordar",
"id": 22658149,
"node_id": "MDQ6VXNlcjIyNjU4MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/22658149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ebarkhordar",
"html_url": "https://github.com/ebarkhordar",
"followers_url": "https://api.github.com/... | [] | open | false | [] | null | [] | 2026-08-06T18:40:14 | 2026-08-06T18:40:14 | null | null | CONTRIBUTOR | [] | null | null | null | null | ### Describe the bug
`Pickler._legacy_no_dict_keys_sorting` has a definition and a writer, but since #7817 it has no reader, so the flag does nothing.
`DatasetBuilder._check_legacy_cache2` patches it on to recompute the `config_id` that 2.15.0 would have produced, because 2.15.0 hashed dicts without sorting their ite... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8410/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/8410/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/8409 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8409/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8409/comments | https://api.github.com/repos/huggingface/datasets/issues/8409/events | https://github.com/huggingface/datasets/pull/8409 | 5,083,087,639 | PR_kwDODunzps77roh- | 8,409 | docs: fix broken audio link in mapstyle vs iterable guide | {
"login": "latent-9",
"id": 296084221,
"node_id": "U_kgDOEaXi_Q",
"avatar_url": "https://avatars.githubusercontent.com/u/296084221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/latent-9",
"html_url": "https://github.com/latent-9",
"followers_url": "https://api.github.com/users/latent-9/... | [] | closed | false | [] | null | [] | 2026-08-06T16:13:40 | 2026-08-15T08:34:39 | 2026-08-15T08:34:39 | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8409",
"html_url": "https://github.com/huggingface/datasets/pull/8409",
"diff_url": "https://github.com/huggingface/datasets/pull/8409.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8409.patch",
"merged_at": null
} | The "map-style vs iterable" guide links the four loading guides on one line, but the `audio` link has a stray `]` inside its target (`./audio_load]`), which makes the Markdown link malformed and breaks it.
The three sibling links on the same line are correct (`./tabular_load`, `./nlp_load`, `./image_load`), and the ta... | {
"login": "latent-9",
"id": 296084221,
"node_id": "U_kgDOEaXi_Q",
"avatar_url": "https://avatars.githubusercontent.com/u/296084221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/latent-9",
"html_url": "https://github.com/latent-9",
"followers_url": "https://api.github.com/users/latent-9/... | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8409/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/8409/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8408 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8408/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8408/comments | https://api.github.com/repos/huggingface/datasets/issues/8408/events | https://github.com/huggingface/datasets/pull/8408 | 5,080,309,439 | PR_kwDODunzps77ilJy | 8,408 | Save the shuffle buffer content in the state dict so resuming is exact | {
"login": "thejamesgore",
"id": 83005220,
"node_id": "MDQ6VXNlcjgzMDA1MjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/83005220?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thejamesgore",
"html_url": "https://github.com/thejamesgore",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | [
"I reported the duplicate this fixes over in #7901, so I checked this branch against the full sweep I had rather than just the one case.\n\nTwenty-seven configurations, varying seed, checkpoint offset, buffer size and shard count, on `pr8408` at `bfcf1eac5`:\n\n```\n seed k buf shards | dupes missing exact\n... | 2026-08-06T10:41:20 | 2026-08-12T22:09:08 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8408",
"html_url": "https://github.com/huggingface/datasets/pull/8408",
"diff_url": "https://github.com/huggingface/datasets/pull/8408.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8408.patch",
"merged_at": null
} | ## Overview
There are two problems when resuming a shuffled iterable dataset. The known one from the warning and the discussion in #7901 is that the shuffle buffer content isn't saved in the state dict so you lose roughly `buffer_size` examples every resume.
The second is you can get an example twice. The `Rebatc... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8408/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/8408/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8407 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8407/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8407/comments | https://api.github.com/repos/huggingface/datasets/issues/8407/events | https://github.com/huggingface/datasets/pull/8407 | 5,077,929,707 | PR_kwDODunzps77a8Eg | 8,407 | Optimize PyArrow block shuffling with dynamic rebatched chunk interleaving | {
"login": "yuxin00j",
"id": 255896926,
"node_id": "U_kgDOD0CtXg",
"avatar_url": "https://avatars.githubusercontent.com/u/255896926?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuxin00j",
"html_url": "https://github.com/yuxin00j",
"followers_url": "https://api.github.com/users/yuxin00j/... | [] | open | false | [] | null | [
"The PR changes the shuffle results for a given seed, seems to cause test_iterable_dataset_shuffle_buffer_uses_multiple_input_shards to fail.",
"> The PR changes the shuffle results for a given seed, seems to cause test_iterable_dataset_shuffle_buffer_uses_multiple_input_shards to fail.\r\n\r\nUpdated the test."
... | 2026-08-06T05:24:23 | 2026-08-11T09:25:06 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8407",
"html_url": "https://github.com/huggingface/datasets/pull/8407",
"diff_url": "https://github.com/huggingface/datasets/pull/8407.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8407.patch",
"merged_at": null
} | When streaming PyArrow datasets with shuffling enabled (`buffer_size > 0`), the `BufferShuffledExamplesIterable._iter_arrow()` method historically relied on a Python-level `list` to maintain the shuffle buffer, replacing elements one-by-one. In a multi-worker `DataLoader` environment, this per-row generator approach ca... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8407/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/8407/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8406 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8406/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8406/comments | https://api.github.com/repos/huggingface/datasets/issues/8406/events | https://github.com/huggingface/datasets/pull/8406 | 5,076,886,721 | PR_kwDODunzps77XnBU | 8,406 | Preserve nanosecond precision in Python dataset construction | {
"login": "sophianggan",
"id": 237162263,
"node_id": "U_kgDODiLPFw",
"avatar_url": "https://avatars.githubusercontent.com/u/237162263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sophianggan",
"html_url": "https://github.com/sophianggan",
"followers_url": "https://api.github.com/users/... | [] | open | false | [] | null | [] | 2026-08-06T02:09:38 | 2026-08-06T02:43:17 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8406",
"html_url": "https://github.com/huggingface/datasets/pull/8406",
"diff_url": "https://github.com/huggingface/datasets/pull/8406.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8406.patch",
"merged_at": null
} | ## What it is
Preserves exact nanosecond precision for pandas timestamps and timedeltas when users declare `Value("timestamp[ns]")` or `Value("duration[ns]")`.
Previously, `Dataset.from_dict`, `Dataset.from_list`, and `Dataset.map` reported a nanosecond feature while silently storing values truncated to microseconds.... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8406/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/8406/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8405 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8405/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8405/comments | https://api.github.com/repos/huggingface/datasets/issues/8405/events | https://github.com/huggingface/datasets/pull/8405 | 5,074,026,078 | PR_kwDODunzps77OaCx | 8,405 | Match Dataset.map's on_mixed_types default in DatasetDict.map | {
"login": "vineethsaivs",
"id": 42468190,
"node_id": "MDQ6VXNlcjQyNDY4MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/42468190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vineethsaivs",
"html_url": "https://github.com/vineethsaivs",
"followers_url": "https://api.github.c... | [] | open | false | [] | null | [] | 2026-08-05T18:31:26 | 2026-08-05T18:31:26 | null | null | CONTRIBUTOR | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8405",
"html_url": "https://github.com/huggingface/datasets/pull/8405",
"diff_url": "https://github.com/huggingface/datasets/pull/8405.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8405.patch",
"merged_at": null
} | ### Problem
`Dataset.map` defaults `on_mixed_types` to `"use_json"`, so a mapped column with no
predefined schema becomes a `Json()` feature instead of failing type inference.
`DatasetDict.map` defaults the same parameter to `None` and forwards it to every split
unconditionally, so wrapping the splits in a `DatasetDic... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8405/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/8405/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8404 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8404/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8404/comments | https://api.github.com/repos/huggingface/datasets/issues/8404/events | https://github.com/huggingface/datasets/pull/8404 | 5,070,831,360 | PR_kwDODunzps77EBK8 | 8,404 | Fix broken links in documentation | {
"login": "richboyneedcash",
"id": 273099414,
"node_id": "U_kgDOEEcqlg",
"avatar_url": "https://avatars.githubusercontent.com/u/273099414?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/richboyneedcash",
"html_url": "https://github.com/richboyneedcash",
"followers_url": "https://api.githu... | [] | open | false | [] | null | [] | 2026-08-05T12:27:50 | 2026-08-05T12:27:50 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8404",
"html_url": "https://github.com/huggingface/datasets/pull/8404",
"diff_url": "https://github.com/huggingface/datasets/pull/8404.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8404.patch",
"merged_at": null
} | Several documentation pages link to URLs that now return 404. This PR updates them to their current locations.
| File | Old (404) | New |
|------|-----------|-----|
| `object_detection.mdx` | `albumentations.ai/docs/examples/example_bboxes/` | `albumentations.ai/docs/examples/example-bboxes/` |
| `image_dataset.mdx` |... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8404/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/8404/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8403 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8403/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8403/comments | https://api.github.com/repos/huggingface/datasets/issues/8403/events | https://github.com/huggingface/datasets/pull/8403 | 5,064,557,555 | PR_kwDODunzps76v2d3 | 8,403 | Fix pandas formatting when a decodable column is excluded by 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 | [] | 2026-08-04T20:21:35 | 2026-08-04T20:21:35 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8403",
"html_url": "https://github.com/huggingface/datasets/pull/8403",
"diff_url": "https://github.com/huggingface/datasets/pull/8403.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8403.patch",
"merged_at": null
} | The pandas decoder builds its transform map from all of `self.features`, but the frame has already been projected to the format's `columns`:
```python
ds.with_format("pandas", columns=["label"])[0]
# KeyError: "Label(s) ['image'] do not exist"
```
Scoped to pandas — `None`, `numpy`, `torch` and `arrow` all handle a c... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8403/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/8403/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8402 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8402/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8402/comments | https://api.github.com/repos/huggingface/datasets/issues/8402/events | https://github.com/huggingface/datasets/pull/8402 | 5,064,555,950 | PR_kwDODunzps76v2Jl | 8,402 | Fix PolarsFeaturesDecoder.decode_row | {
"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 | [] | 2026-08-04T20:21:21 | 2026-08-04T20:21:21 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8402",
"html_url": "https://github.com/huggingface/datasets/pull/8402",
"diff_url": "https://github.com/huggingface/datasets/pull/8402.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8402.patch",
"merged_at": null
} | `PolarsFeaturesDecoder.decode_row` is a verbatim copy of the pandas implementation, but polars' `map_rows` takes a callable rather than a dict of column transforms:
```python
ds.with_format("polars")[0]
# TypeError: 'dict' object is not callable
```
So `with_format("polars")` is unusable on any dataset with an `Image... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8402/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/8402/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8401 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8401/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8401/comments | https://api.github.com/repos/huggingface/datasets/issues/8401/events | https://github.com/huggingface/datasets/pull/8401 | 5,064,554,167 | PR_kwDODunzps76v1yt | 8,401 | Allow reading a split with 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 | [] | 2026-08-04T20:21:07 | 2026-08-04T20:21:07 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8401",
"html_url": "https://github.com/huggingface/datasets/pull/8401",
"diff_url": "https://github.com/huggingface/datasets/pull/8401.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8401.patch",
"merged_at": null
} | `make_file_instructions` skips every file whose take is 0, so `BaseReader.read` receives an empty file list and raises — which means one empty split makes the entire `DatasetDict` unloadable:
```python
load_dataset("json", data_files={"train": [...], "test": []})
# ValueError: Instruction "test" corresponds to no data... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8401/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/8401/timeline | null | null | null | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/8400 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/8400/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/8400/comments | https://api.github.com/repos/huggingface/datasets/issues/8400/events | https://github.com/huggingface/datasets/pull/8400 | 5,064,552,446 | PR_kwDODunzps76v1cs | 8,400 | Fix align_labels_with_mapping on a list of ClassLabel | {
"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 | [] | 2026-08-04T20:20:52 | 2026-08-09T01:49:11 | null | null | NONE | [] | null | null | false | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8400",
"html_url": "https://github.com/huggingface/datasets/pull/8400",
"diff_url": "https://github.com/huggingface/datasets/pull/8400.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8400.patch",
"merged_at": null
} | #7634 dropped `Sequence` from the `.features` import but left two references in `align_labels_with_mapping`, so every non-plain-`ClassLabel` column raises:
```python
ds.align_labels_with_mapping({"O": 0, "LOC": 1, "PER": 2}, "ner_tags")
# NameError: name 'Sequence' is not defined
```
That covers the token-classificat... | null | {
"url": "https://api.github.com/repos/huggingface/datasets/issues/8400/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/8400/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.