Dataset Viewer
Auto-converted to Parquet Duplicate
issue_id
int64
8.59k
9.16k
title
stringlengths
41
201
state
stringclasses
2 values
author_login
stringlengths
5
18
created_at
stringdate
2026-09-08 19:36:25
2026-11-24 18:23:58
closed_at
stringlengths
20
20
⌀
comment_count
int64
0
7
labels
listlengths
0
1
body
stringlengths
52
8.29k
comments_sample
stringlengths
0
1.37k
text
stringlengths
117
8.4k
title_char_len
int64
41
201
body_word_count
int64
8
1.51k
has_comments
bool
2 classes
html_url
stringlengths
51
51
9,159
Function hash depends on indentation and column position on Python 3.11+, so Dataset.map does not reuse its cache
open
JoeyTan21
2026-11-24T18:23:58Z
null
0
[]
### Describe the bug On Python 3.11 and later, Hasher.hash gives a different hash for the same function when it is written at a different column: one indentation level deeper, or a lambda at a different position in its line. Dataset.map then gets a different fingerprint and recomputes instead of reusing the cache. Mo...
Title: Function hash depends on indentation and column position on Python 3.11+, so Dataset.map does not reuse its cache Body: ### Describe the bug On Python 3.11 and later, Hasher.hash gives a different hash for the same function when it is written at a different column: one indentation level deeper, or a lambda at a...
113
263
false
https://github.com/huggingface/datasets/issues/9159
9,157
dataset viewer Error code: TooBigContentError
open
kakamond
2026-11-24T09:51:20Z
null
1
[]
### Describe the bug Parquet error: Scan size limit exceeded: attempted to read 490364152 bytes, limit is 300000000 bytes Make sure that 1. the Parquet files contain a page index to enable random access without loading entire row groups2. otherwise use smaller row-group sizes when serializing the Parquet files ### St...
This message comes from the Hub dataset viewer, not from the `datasets` library: to show a page, the viewer may read at most 300 MB from a Parquet file. A file with very large row groups and no page index makes it read a whole row group (490 MB here). `load_dataset()` still works; only the viewer gi
Title: dataset viewer Error code: TooBigContentError Body: ### Describe the bug Parquet error: Scan size limit exceeded: attempted to read 490364152 bytes, limit is 300000000 bytes Make sure that 1. the Parquet files contain a page index to enable random access without loading entire row groups2. otherwise use small...
47
196
true
https://github.com/huggingface/datasets/issues/9157
9,155
Polars format raises TypeError when decoding any decodable feature
open
feiiiiii5
2026-11-24T06:55:26Z
null
1
[]
## Bug `PolarsFormatter.decode_row` calls `row.map_rows(decode)`, but `decode` is a `{column_name: decoder}` dict, not a callable. Any dataset with a decodable feature (`Image`, `Audio`, custom `decode_example`) therefore raises `TypeError: 'dict' object is not callable` under `with_format("polars")` — for both `Datas...
#self-assign I'm an automated contributor (OpenCode agent, `feiiiiii5` account) and would like to take this. I reproduced it locally on `main` with an in-memory dataset and no downloads, and will open a focused PR that changes only `decode_row` plus regression tests for `Dataset` and `IterableDatas
Title: Polars format raises TypeError when decoding any decodable feature Body: ## Bug `PolarsFormatter.decode_row` calls `row.map_rows(decode)`, but `decode` is a `{column_name: decoder}` dict, not a callable. Any dataset with a decodable feature (`Image`, `Audio`, custom `decode_example`) therefore raises `TypeError...
66
132
true
https://github.com/huggingface/datasets/issues/9155
9,132
DatasetDict.map(with_split=True) crashes when no function is provided
open
zhengdaodeguL
2026-11-22T15:32:29Z
null
0
[]
# DatasetDict.map(with_split=True) crashes when no function is provided ## Describe the bug `DatasetDict.map` documents `function` as optional and says that omitting it uses an identity transform. Passing `with_split=True` with no function raises a `TypeError` instead of returning the datasets unchanged. ## Steps to...
Title: DatasetDict.map(with_split=True) crashes when no function is provided Body: # DatasetDict.map(with_split=True) crashes when no function is provided ## Describe the bug `DatasetDict.map` documents `function` as optional and says that omitting it uses an identity transform. Passing `with_split=True` with no func...
69
147
false
https://github.com/huggingface/datasets/issues/9132
9,130
`load_dataset` rejects a list of split names when streaming
open
zhengdaodeguL
2026-11-22T12:32:43Z
null
0
[]
# `load_dataset` rejects a list of split names when streaming ## Describe the bug Passing a list of valid split names to `load_dataset` works when loading normally, but raises `ValueError` when `streaming=True`. The error says the requested splits are unavailable even though both names appear in the available-splits ...
Title: `load_dataset` rejects a list of split names when streaming Body: # `load_dataset` rejects a list of split names when streaming ## Describe the bug Passing a list of valid split names to `load_dataset` works when loading normally, but raises `ValueError` when `streaming=True`. The error says the requested spli...
59
185
false
https://github.com/huggingface/datasets/issues/9130
9,128
Dataset.from_list silently drops rows when records are empty dictionaries
open
zhengdaodeguL
2026-11-22T10:22:10Z
null
0
[]
# Dataset.from_list silently drops rows when records are empty dictionaries ## Describe the bug `Dataset.from_list` silently returns zero rows when the input contains empty dictionaries. The input records are lost even though they are valid rows with no fields. ## Steps to reproduce ```python from datasets import D...
Title: Dataset.from_list silently drops rows when records are empty dictionaries Body: # Dataset.from_list silently drops rows when records are empty dictionaries ## Describe the bug `Dataset.from_list` silently returns zero rows when the input contains empty dictionaries. The input records are lost even though they ...
73
128
false
https://github.com/huggingface/datasets/issues/9128
9,126
Image feature fails on Arrow string_view path arrays
open
zhengdaodeguL
2026-11-22T09:59:22Z
null
2
[]
# Image feature fails on Arrow string_view path arrays ## Describe the bug `Dataset.from_dict` raises an `ArrowNotImplementedError` when an Arrow `string_view` array of image paths is passed with an `Image` feature. The same path values work when provided as a normal Python string list. ## Steps to reproduce The re...
#self-assign I plan to normalize string_view image paths through the existing string storage conversion and add regression tests for path values, nulls, and empty arrays. This contribution will be AI-assisted. | #self-assign
Title: Image feature fails on Arrow string_view path arrays Body: # Image feature fails on Arrow string_view path arrays ## Describe the bug `Dataset.from_dict` raises an `ArrowNotImplementedError` when an Arrow `string_view` array of image paths is passed with an `Image` feature. The same path values work when provi...
52
154
true
https://github.com/huggingface/datasets/issues/9126
9,124
Dataset.to_json() crashes on Image columns and on binary values that aren't valid UTF-8
open
Svastikkka
2026-11-22T07:06:28Z
null
1
[]
### Describe the bug `Dataset.to_json()` fails on any dataset with an `Image` column, and on `Value("binary")` columns whose bytes aren't valid UTF-8. `JsonDatasetWriter` passes the raw `bytes` to `pandas.DataFrame.to_json()`, and pandas' encoder tries to write them as UTF-8 text: - `Image` column: `OverflowError: Un...
Reproduced on main (39fd698): both cases die inside pandas' `ujson_dumps` because `_batch_json` hands it raw `bytes`. I went with option 3 for now since it doesn't change the output format: catch the encoder error in `_batch_json` and re-raise a `ValueError` naming the binary column(s) and pointing
Title: Dataset.to_json() crashes on Image columns and on binary values that aren't valid UTF-8 Body: ### Describe the bug `Dataset.to_json()` fails on any dataset with an `Image` column, and on `Value("binary")` columns whose bytes aren't valid UTF-8. `JsonDatasetWriter` passes the raw `bytes` to `pandas.DataFrame.to_...
87
334
true
https://github.com/huggingface/datasets/issues/9124
9,122
JSON object arrays gain a text wrapper depending on padding or chunksize
open
duoduohappy
2026-11-22T04:59:37Z
null
0
[]
### Describe the bug Loading a JSON array of objects can produce different columns depending on whitespace after the opening bracket or the configured chunksize. With 120 spaces after “[”, the records are incorrectly wrapped in an extra “text” field. Setting chunksize=1 triggers the same behavior without extra whites...
Title: JSON object arrays gain a text wrapper depending on padding or chunksize Body: ### Describe the bug Loading a JSON array of objects can produce different columns depending on whitespace after the opening bracket or the configured chunksize. With 120 spaces after “[”, the records are incorrectly wrapped in an e...
72
276
false
https://github.com/huggingface/datasets/issues/9122
9,121
CSV loader drops leading zeros after row 10,000 when the column type changes between chunks
open
Arnav66692
2026-11-22T02:35:56Z
null
0
[]
### Describe the bug When a CSV is loaded without `features`, the loader reads it in chunks of 10,000 rows and pandas guesses the column types for each chunk on its own. Every chunk after the first is then cast to the first chunk's schema. So a text column that only has digits after row 10,000 gets parsed as a number ...
Title: CSV loader drops leading zeros after row 10,000 when the column type changes between chunks Body: ### Describe the bug When a CSV is loaded without `features`, the loader reads it in chunks of 10,000 rows and pandas guesses the column types for each chunk on its own. Every chunk after the first is then cast to ...
91
345
false
https://github.com/huggingface/datasets/issues/9121
9,117
Pandas missing values become `"<NA>"` or cause `Dataset.from_dict` to fail
open
zhengdaodeguL
2026-11-21T16:47:34Z
null
0
[]
## Describe the bug When a pandas nullable `Series` contains a missing value, `Dataset.from_dict` does not consistently preserve it as a null. With an explicit string feature, `pd.NA` is converted to the literal string `"<NA>"`. Without explicit features, the same input raises an Arrow type error. Nullable integer, fl...
Title: Pandas missing values become `"<NA>"` or cause `Dataset.from_dict` to fail Body: ## Describe the bug When a pandas nullable `Series` contains a missing value, `Dataset.from_dict` does not consistently preserve it as a null. With an explicit string feature, `pd.NA` is converted to the literal string `"<NA>"`. Wi...
74
167
false
https://github.com/huggingface/datasets/issues/9117
9,114
concatenate_datasets and map(num_proc>1) fail when a struct field inside a list is all None in one part
open
Dhruv-Sharma29
2026-11-21T05:30:23Z
null
0
[]
### Describe the bug When a column is a list of structs and one struct field is `None` in every row of one dataset (or one `map()` shard), that dataset infers `Value("null")` for the field. `concatenate_datasets` then refuses to combine it with a dataset where the same field has a type, and so does `map(num_proc>1)`, ...
Title: concatenate_datasets and map(num_proc>1) fail when a struct field inside a list is all None in one part Body: ### Describe the bug When a column is a list of structs and one struct field is `None` in every row of one dataset (or one `map()` shard), that dataset infers `Value("null")` for the field. `concatenate...
103
345
false
https://github.com/huggingface/datasets/issues/9114
9,103
generate_fingerprint() crashes with FileNotFoundError if any listed cache file is missing on disk
open
PCTEJA
2026-11-20T09:22:52Z
null
1
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/fingerprint.py:236-246`, `generate_fingerprint()` computes the fingerprint from cache-file modification times — line 245 does `hasher.update(os.path.getmtime(cache_file["fi...
#self-assign
Title: generate_fingerprint() crashes with FileNotFoundError if any listed cache file is missing on disk Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/fingerprint.py:236-246`, `generate_fingerprint()` computes th...
97
203
true
https://github.com/huggingface/datasets/issues/9103
9,102
Dataset.from_dict() silently truncates floats to ints — 1.9 becomes 1 with no error, while the library's own safe cast raises
open
PCTEJA
2026-11-20T09:22:49Z
null
1
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. Declaring an `int64` column and passing `[1.9, 2.5]` yields `[1, 2]` — wrong data, silently. The inconsistency proves it is a bug, not intended semantics: calling the library's own `cast_ar...
I am working on a fix for this.
Title: Dataset.from_dict() silently truncates floats to ints — 1.9 becomes 1 with no error, while the library's own safe cast raises Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. Declaring an `int64` column and passing `[1.9, 2.5...
125
222
true
https://github.com/huggingface/datasets/issues/9102
9,101
TarExtractor.safemembers() does not filter device/FIFO members — a char device aborts the whole extraction, a FIFO is materialised in the cache dir
open
PCTEJA
2026-11-20T09:22:46Z
null
1
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout, using `TarExtractor.extract` itself. In `src/datasets/utils/extract.py:92-131`, `safemembers` only checks path traversal and sym/hard links; device nodes, FIFOs, and sockets are yielded thr...
Hi, I'd like to work on this if no one else is. The plan is to make `TarExtractor.safemembers()` skip device and FIFO members (`isdev()`, which covers char, block and FIFO entries) with a log message like the existing illegal-path and bad-link cases, matching the streaming path that already skips no
Title: TarExtractor.safemembers() does not filter device/FIFO members — a char device aborts the whole extraction, a FIFO is materialised in the cache dir Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout, using `TarExtractor.extract` ...
147
251
true
https://github.com/huggingface/datasets/issues/9101
9,100
resolve_pattern() allowed_extensions filter accepts intermediate suffixes — c.parquet.tmp and b.csv.bak pass as parquet/CSV data files
open
PCTEJA
2026-11-20T09:22:42Z
null
0
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/data_files.py:390-396`: ```python if any("." + suffix in allowed_extensions for suffix in xbasename(filepath).split(".")[1:]) ``` Same dotted-component counting as the `i...
Title: resolve_pattern() allowed_extensions filter accepts intermediate suffixes — c.parquet.tmp and b.csv.bak pass as parquet/CSV data files Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/data_files.py:390-396`: ...
134
213
false
https://github.com/huggingface/datasets/issues/9100
9,099
infer_module_for_data_files_list() counts every dotted filename component as an extension — data.tar.gz is inferred as webdataset, and the tie-break is reverse-alphabetical, contradicting the docstring
open
PCTEJA
2026-11-20T09:22:39Z
null
0
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/load.py:202-247`, two problems: (a) Line 219-223 counts all components after the first dot: `for suffix in xbasename(filepath).split(".")[1:]`. So a file `data.tar.gz` con...
Title: infer_module_for_data_files_list() counts every dotted filename component as an extension — data.tar.gz is inferred as webdataset, and the tie-break is reverse-alphabetical, contradicting the docstring Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live aga...
201
203
false
https://github.com/huggingface/datasets/issues/9099
9,098
train_test_split() silently drops rows when train_size + test_size < 1
open
PCTEJA
2026-11-20T09:22:36Z
null
1
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/arrow_dataset.py:5236-5249`, `n_train` / `n_test` are computed from the two sizes, and only `n_train + n_test > n_samples` raises. The `<` case has no check, no warning, an...
#self-assign
Title: train_test_split() silently drops rows when train_size + test_size < 1 Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/arrow_dataset.py:5236-5249`, `n_train` / `n_test` are computed from the two sizes, and o...
70
176
true
https://github.com/huggingface/datasets/issues/9098
9,097
Dataset.shuffle() / train_test_split() with seed=None are deterministic given the global NumPy seed and mutate global RNG state, contradicting the docs
open
PCTEJA
2026-11-20T09:22:32Z
null
0
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/arrow_dataset.py:5033-5036` (`shuffle()`) and `:5261-5264` (`train_test_split()`), identical duplicated code: ```python if seed is None: _, seed, pos, *_ = np.random.g...
Title: Dataset.shuffle() / train_test_split() with seed=None are deterministic given the global NumPy seed and mutate global RNG state, contradicting the docs Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. In `src/datasets/arrow_d...
151
273
false
https://github.com/huggingface/datasets/issues/9097
9,096
ArrowWriter used as a context manager (or close() without finalize()) silently discards all staged data and leaves a 0-byte unreadable file
open
PCTEJA
2026-11-20T09:22:29Z
null
0
[]
Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. `ArrowWriter` is a context manager, so the natural usage is `with ArrowWriter(...) as w: w.write(...)`. But `__exit__` (src/datasets/arrow_writer.py:586-597) only calls `close()`, and `clos...
Title: ArrowWriter used as a context manager (or close() without finalize()) silently discards all staged data and leaves a 0-byte unreadable file Body: Found on main (39fd698d619816099ffa8eb07b5c79b0f4f5f299, datasets 5.2.1.dev0). I reproduced this live against the local checkout. `ArrowWriter` is a context manager, ...
139
272
false
https://github.com/huggingface/datasets/issues/9096
9,082
to_json drops microseconds from timestamps, and the file can't be read back with the same features
open
nafiurahman00
2026-11-19T07:30:08Z
null
2
[]
`to_json` writes timestamp/date columns as epoch milliseconds (pandas' default), so: - microseconds are dropped (`12:30:15.123456` -> `1577881815123`) - reading the file back with the same features fails: `ArrowNotImplementedError: Unsupported cast from int64 to date32` - `date_format="iso"` also truncates to ms, an...
@nafiurahman00 I saw you were asking before sending a PR, so I do not want to step on it if you are planning to send one yourself. I reproduced this on main and built a fix in case it is useful: https://github.com/PCTEJA/datasets/commit/4f6d6211eca2a3ef2939519476e68abaf40c3040 `to_json` now writes | Go ahead with #90...
Title: to_json drops microseconds from timestamps, and the file can't be read back with the same features Body: `to_json` writes timestamp/date columns as epoch milliseconds (pandas' default), so: - microseconds are dropped (`12:30:15.123456` -> `1577881815123`) - reading the file back with the same features fails: ...
98
146
true
https://github.com/huggingface/datasets/issues/9082
9,075
IterableDataset.remove_columns with a string also removes columns whose names are substrings of it
open
nurlanmnn
2026-11-18T16:35:10Z
null
0
[]
### Describe the bug `IterableDataset.remove_columns` with a single column name (a string) also removes other columns whose names are substrings of it. For example `remove_columns("user_id")` drops `id` too, and the `id` values disappear from the rows without any error. The feature update loop does `if col in column_...
Title: IterableDataset.remove_columns with a string also removes columns whose names are substrings of it Body: ### Describe the bug `IterableDataset.remove_columns` with a single column name (a string) also removes other columns whose names are substrings of it. For example `remove_columns("user_id")` drops `id` too,...
98
142
false
https://github.com/huggingface/datasets/issues/9075
9,069
`eval` loader fails when the first log in a folder has no samples
open
BahaaMattar
2026-11-17T23:09:54Z
null
0
[]
### Describe the bug Loading several Inspect logs with the `eval` loader fails with `ArrowInvalid: Must pass at least one table` when the first log (by file name) has no samples, e.g. the log of a run that was killed before writing any sample. `_split_generators` infers the features only from the samples of `logs_file...
Title: `eval` loader fails when the first log in a folder has no samples Body: ### Describe the bug Loading several Inspect logs with the `eval` loader fails with `ArrowInvalid: Must pass at least one table` when the first log (by file name) has no samples, e.g. the log of a run that was killed before writing any samp...
65
211
false
https://github.com/huggingface/datasets/issues/9069
9,054
Nested column access fails when a parent struct is null
open
gorkadabo1
2026-11-16T10:52:32Z
null
1
[]
### Describe the bug Chained column access raises `TypeError: 'NoneType' object is not subscriptable` when a parent struct is null. This affects `Dataset` column iteration, scalar indexing, and slicing, as well as `IterableDataset` column iteration. Datasets accepts the data, and `Dataset.flatten()` returns the expect...
#self-assign
Title: Nested column access fails when a parent struct is null Body: ### Describe the bug Chained column access raises `TypeError: 'NoneType' object is not subscriptable` when a parent struct is null. This affects `Dataset` column iteration, scalar indexing, and slicing, as well as `IterableDataset` column iteration. ...
55
175
true
https://github.com/huggingface/datasets/issues/9054
9,043
JSON loader rounds floats to 10 decimals in batches that contain a mixed-type field
open
HamedMP
2026-11-13T22:09:42Z
null
0
[]
### Describe the bug When a JSON Lines batch contains a field with mixed types (for example an `id` that is an int in some rows and a string in others), the JSON loader re-serializes every row of that batch with pandas' `ujson_dumps`, whose default `double_precision` is 10. Floats in *other*, unrelated columns of that...
Title: JSON loader rounds floats to 10 decimals in batches that contain a mixed-type field Body: ### Describe the bug When a JSON Lines batch contains a field with mixed types (for example an `id` that is an int in some rows and a string in others), the JSON loader re-serializes every row of that batch with pandas' `u...
83
288
false
https://github.com/huggingface/datasets/issues/9043
9,041
JSON loader silently JSON-encodes strings in a mixed-type field declared as Value("string")
open
HamedMP
2026-11-13T21:43:50Z
null
1
[]
### Describe the bug When a JSON field mixes ints and strings and the user declares it as `Value("string")` in `features=`, the JSON loader returns the non-numeric strings JSON-encoded: with quotes around them and `/` escaped as `\/`. There is no error or warning, and `ds.features` still says `Value('string')`. I hit...
Cross-instance test grid for the JSON-loader mixed-type cluster (#8926, #9041, #9043, and the sibling sampling fault #8914). Nobody had run the four repros against each other's fixes, so I did: each issue's own minimized repro, run against `main` and against the head of every in-flight PR in the cl
Title: JSON loader silently JSON-encodes strings in a mixed-type field declared as Value("string") Body: ### Describe the bug When a JSON field mixes ints and strings and the user declares it as `Value("string")` in `features=`, the JSON loader returns the non-numeric strings JSON-encoded: with quotes around them and ...
91
525
true
https://github.com/huggingface/datasets/issues/9041
9,036
Faster `Dataset.to_sql` for `sqlite:///` URLs (about 3× at the default `batch_size`)
open
AdrianPerez3
2026-11-13T12:38:02Z
null
0
[ "enhancement" ]
### Feature request For single-process exports to a `sqlite:///<file>` URL, `to_sql` could let pandas write only the first batch and insert the later ones itself, straight from Arrow, several batches per transaction. I have a local implementation: about 115 added lines in `io/sql.py`, plus tests. At the default `batch...
Title: Faster `Dataset.to_sql` for `sqlite:///` URLs (about 3× at the default `batch_size`) Body: ### Feature request For single-process exports to a `sqlite:///<file>` URL, `to_sql` could let pandas write only the first batch and insert the later ones itself, straight from Arrow, several batches per transaction. I ha...
84
1,506
false
https://github.com/huggingface/datasets/issues/9036
9,033
Add index-aware null counting support to Dataset
open
mitravarun123
2026-11-13T05:13:28Z
null
1
[ "enhancement" ]
### Feature request I propose adding a `Dataset.null_counts()` method to provide accurate top-level null counts across dataset columns. **Proposed API:** ```python from datasets import Dataset dataset = Dataset.from_dict({ "text": ["Hello", None, "World"], "label": [0, 1, None] }) dataset.null_counts() # {...
Thank you for considering this feature request! I've implemented the proposed `Dataset.null_counts()` method, including index-aware handling, column selection, tests, and documentation. The implementation is available here: https://github.com/mitravarun123/datasets/tree/feat/null-counts I'd appre
Title: Add index-aware null counting support to Dataset Body: ### Feature request I propose adding a `Dataset.null_counts()` method to provide accurate top-level null counts across dataset columns. **Proposed API:** ```python from datasets import Dataset dataset = Dataset.from_dict({ "text": ["Hello", None, "Wo...
48
302
true
https://github.com/huggingface/datasets/issues/9033
9,030
interleave_datasets(all_exhausted) raises confusing IndexError when one dataset is empty
open
davrens101
2026-11-13T00:55:44Z
null
2
[]
```python from datasets import Dataset, interleave_datasets d = Dataset.from_dict({"a": list(range(10))}) interleave_datasets([d, d.select([])], stopping_strategy="all_exhausted") # IndexError: Index 10 out of range for dataset of size 10. ``` With `first_exhausted` the same call returns 0 rows. With `all_exhausted` a...
Hi! I’d like to work on this: make interleave_datasets(..., stopping_strategy="all_exhausted") handle an empty dataset properly (skip it, or raise a clear error), plus a test. Do you have a preference? I’ll be using Claude Code to help. | Measured on the shipped release (datasets 5.2.0, pyarrow 24.0.0, CPU), with one e...
Title: interleave_datasets(all_exhausted) raises confusing IndexError when one dataset is empty Body: ```python from datasets import Dataset, interleave_datasets d = Dataset.from_dict({"a": list(range(10))}) interleave_datasets([d, d.select([])], stopping_strategy="all_exhausted") # IndexError: Index 10 out of range fo...
88
127
true
https://github.com/huggingface/datasets/issues/9030
9,029
Dataset.select raises OverflowError for negative indices while __getitem__ accepts them
open
davrens101
2026-11-13T00:55:43Z
null
5
[]
`Dataset.__getitem__` accepts negative indices in a list, but `Dataset.select` does not. ```python from datasets import Dataset d = Dataset.from_dict({"a": list(range(10))}) d[[-1]] # {'a': [9]} d.select([-1]) # OverflowError: can't convert negative int to unsigned d.select([0, -1]) # same ``` `select...
Hi! I’d like to work on this: have Dataset.select handle negative indices the same way __getitem__ does (or raise a clear error, if you’d prefer), plus tests. Which behaviour would you like? I’ll be using Claude Code to help. | Measured the two access paths side by side on the shipped release (datasets 5.2.0, CPU) — th...
Title: Dataset.select raises OverflowError for negative indices while __getitem__ accepts them Body: `Dataset.__getitem__` accepts negative indices in a list, but `Dataset.select` does not. ```python from datasets import Dataset d = Dataset.from_dict({"a": list(range(10))}) d[[-1]] # {'a': [9]} d.select([-1...
87
120
true
https://github.com/huggingface/datasets/issues/9029
9,028
`batch(by_column=..., drop_last_batch=True)` drops complete groups in `Dataset` and returns a truncated group in `IterableDataset`
open
MaiAditya
2026-11-12T18:26:58Z
null
6
[]
### Describe the bug With `by_column`, `drop_last_batch=True` is passed down to the inner `map` over input rows, so it drops the last `batch_size` input rows rather than an output group. The two dataset types then behave differently, and both are wrong: - `Dataset.batch` loses complete groups: the buffered group is o...
I can take this. Option 1 looks right to me: with `by_column`, the accumulated output group is the unit `drop_last_batch` should apply to, not the inner input batch. I'll open a PR that stops forwarding `drop_last_batch` to the inner `map` in that branch and drops the trailing incomplete group inste | #self-assign | Th...
Title: `batch(by_column=..., drop_last_batch=True)` drops complete groups in `Dataset` and returns a truncated group in `IterableDataset` Body: ### Describe the bug With `by_column`, `drop_last_batch=True` is passed down to the inner `map` over input rows, so it drops the last `batch_size` input rows rather than an ou...
130
350
true
https://github.com/huggingface/datasets/issues/9028
9,015
`execute_subprocess_async` in `tests/utils.py` fails on Python 3.11+ (`asyncio.wait` is given bare coroutines)
open
HibikiHata
2026-11-12T14:07:57Z
null
0
[]
### Describe the bug `_stream_subprocess` in `tests/utils.py` passes bare coroutines to `asyncio.wait()`. Since Python 3.11 this raises `TypeError: Passing coroutines is forbidden, use tasks explicitly.`, so every test that uses `execute_subprocess_async` fails on 3.11 and later. Today that is the four `torch.distribu...
Title: `execute_subprocess_async` in `tests/utils.py` fails on Python 3.11+ (`asyncio.wait` is given bare coroutines) Body: ### Describe the bug `_stream_subprocess` in `tests/utils.py` passes bare coroutines to `asyncio.wait()`. Since Python 3.11 this raises `TypeError: Passing coroutines is forbidden, use tasks expl...
110
301
false
https://github.com/huggingface/datasets/issues/9015
9,008
IterableDataset re-applies a loaded state_dict on every pass in the same epoch, so each later pass skips the already-read examples
closed
Dhruv-Sharma29
2026-11-12T04:22:25Z
2026-11-17T14:24:38Z
7
[]
### Describe the bug After `IterableDataset.load_state_dict()`, the first pass correctly resumes from the checkpoint. But every later pass over the same dataset in the same epoch resumes from that checkpoint again, so it skips the examples that were read before the checkpoint every time, not just once. This also happ...
I believe this is the expected behavior | Thanks for looking. So the intended pattern is to call `set_epoch()` before every pass, and without it every pass counts as the same epoch, so it resumes again? That fits the training loop in the streaming docs. The case that surprised me was `StatefulDataLoader`: the resume ex...
Title: IterableDataset re-applies a loaded state_dict on every pass in the same epoch, so each later pass skips the already-read examples Body: ### Describe the bug After `IterableDataset.load_state_dict()`, the first pass correctly resumes from the checkpoint. But every later pass over the same dataset in the same ep...
130
370
true
https://github.com/huggingface/datasets/issues/9008
8,996
class_encode_column and align_labels_with_mapping give wrong class names or fail on a formatted dataset
open
Shizoqua
2026-11-10T18:07:49Z
null
1
[]
### Describe the bug `Dataset.class_encode_column` and `Dataset.align_labels_with_mapping` run their internal `map` with the dataset's format, but the functions they map expect batches of python lists. On a dataset formatted with `torch`, `class_encode_column` on an integer column silently produces class names like `'...
#self-assign
Title: class_encode_column and align_labels_with_mapping give wrong class names or fail on a formatted dataset Body: ### Describe the bug `Dataset.class_encode_column` and `Dataset.align_labels_with_mapping` run their internal `map` with the dataset's format, but the functions they map expect batches of python lists. ...
103
258
true
https://github.com/huggingface/datasets/issues/8996
8,993
With `num_proc>1`, `to_sql`/`to_csv`/`to_json` and `load_dataset` downloads never return if a worker process dies
open
AdrianPerez3
2026-11-10T09:15:36Z
null
2
[]
### Describe the bug With `num_proc > 1`, two code paths send their tasks to a stdlib `multiprocessing.Pool` and wait on it without the dead-worker check that #5976 added to `iflatmap_unordered`: - the writers behind `Dataset.to_sql`, `to_csv` and `to_json`, which iterate over `pool.imap(...)` (`io/sql.py`, `io/csv.p...
i can take this. plan is to add the dead worker check from #5976 around the ordered `imap` in the csv/json/sql writers and in `parallel_map`, so they raise instead of hanging, plus a test with a worker that calls `os._exit` | Thanks for offering! I've already implemented this (the #5976 check around the ordered `imap` ...
Title: With `num_proc>1`, `to_sql`/`to_csv`/`to_json` and `load_dataset` downloads never return if a worker process dies Body: ### Describe the bug With `num_proc > 1`, two code paths send their tasks to a stdlib `multiprocessing.Pool` and wait on it without the dead-worker check that #5976 added to `iflatmap_unordere...
113
969
true
https://github.com/huggingface/datasets/issues/8993
8,991
IterableDataset.state_dict() stops advancing when another dataset derived from the same source is created or iterated
closed
Dhruv-Sharma29
2026-11-10T07:35:16Z
2026-11-10T17:23:45Z
0
[]
### Describe the bug If two datasets are derived from the same `IterableDataset` (for example `train_ds = ds.skip(n)` and `eval_ds = ds.take(n)`), creating or iterating one of them freezes the `state_dict()` of the other while it is being iterated. The examples it yields are still correct, but its checkpoint stops mov...
Title: IterableDataset.state_dict() stops advancing when another dataset derived from the same source is created or iterated Body: ### Describe the bug If two datasets are derived from the same `IterableDataset` (for example `train_ds = ds.skip(n)` and `eval_ds = ds.take(n)`), creating or iterating one of them freezes...
117
383
false
https://github.com/huggingface/datasets/issues/8991
8,988
Signature mismatch in FilteredExamplesIterable.shuffle_data_sources
closed
davrens101
2026-11-10T05:15:42Z
2026-11-10T05:16:15Z
1
[]
### Describe the bug In `datasets.iterable_dataset.FilteredExamplesIterable`, the `shuffle_data_sources` method has a signature mismatch compared to `_BaseExamplesIterable` and all other sibling iterable classes: ```python class FilteredExamplesIterable(MappedExamplesIterable): ... def shuffle_data_sources(se...
Closing as not a user-facing bug (internal callers pass a generator positionally).
Title: Signature mismatch in FilteredExamplesIterable.shuffle_data_sources Body: ### Describe the bug In `datasets.iterable_dataset.FilteredExamplesIterable`, the `shuffle_data_sources` method has a signature mismatch compared to `_BaseExamplesIterable` and all other sibling iterable classes: ```python class Filtered...
67
204
true
https://github.com/huggingface/datasets/issues/8988
End of preview. Expand in Data Studio

github-issues-augmented-sample

Dataset Summary

This dataset contains 100 GitHub issues collected on 2026-11-26 (UTC) from huggingface/datasets via the public GitHub REST API and augmented with comment excerpts and derived structural fields (title_char_len, body_word_count, has_comments, and text).

Data Collection & Augmentation

  • Source: Public GitHub REST API (/repos/huggingface/datasets/issues), filtering out pull requests.
  • Augmentation: Added comment text excerpts (where available), issue label lists, and structural length/engagement metadata.

Compliance, Licensing, Privacy & Storage

  • Licensing & Attribution: Collected via the public GitHub REST API in accordance with GitHub's Terms of Service and acceptable use guidelines. Upstream source repository huggingface/datasets (Apache-2.0 licensed) is attributed, and this derived dataset card is documented in line with Datasheets for Datasets principles.
  • Privacy: Only publicly visible issue records, labels, and public GitHub handles were retrieved. No private repositories, personal contact details, or authentication credentials were collected or published.
  • Storage: API credentials were managed securely via environment secrets rather than hardcoded in scripts. Working files were stored on approved local/institutional storage during processing in accordance with institutional data storage and governance policies prior to publishing public-safe records to the Hugging Face Hub.

Limitations

  • Small point-in-time snapshot (100 records) subject to GitHub API rate limits and repository activity at collection time.
  • Comment excerpts are truncated/capped for collection efficiency.

Ethics, Compliance & Governance Documentation

Data Collection Process

  • Collected 100 public GitHub issues from huggingface/datasets on 2026-11-26 (UTC) via the public GitHub REST API (repos/huggingface/datasets/issues), filtering out pull requests.
  • Augmented records with comment excerpts (comments_sample), labels, combined text (text), and structural features (title_char_len, body_word_count, has_comments), then deduplicated by issue_id and verified text completeness (0 empty search documents; 78 missing closed_at values reflecting open issues).

Legislation, Codes & Organisational Policy Alignment

  • Privacy & Data Protection: Uses only publicly available GitHub issue data without private repositories or non-public personal details, aligning with the Australian Privacy Act 1988 (including the Australian Privacy Principles), Western Australian privacy/information-handling expectations, and institutional governance policies.
  • Licensing, Attribution & Security: Follows GitHub Terms of Service, attributes the upstream huggingface/datasets repository (Apache-2.0) and documents provenance in line with Datasheets for Datasets, releases this sample dataset under MIT, and keeps HF_TOKEN inside Colab Secrets rather than code or output files.

Risks, Corrective Actions & Future Mitigations

  • Public Handles & Usernames (author_login / mentions): Public GitHub usernames can act as identifiers. Mitigation: Avoid external identity linkage and hash or omit author_login if pseudonymisation is required in future versions.
  • Small Snapshot & Skew (100 Issues, Mostly Open): A 100-issue point-in-time sample creates coverage gaps for niche/older topics and skews zero-shot classification (documentation or error dominating predictions) and FAISS retrieval results. Mitigation: Expand sample size, test refined labels/embeddings, and validate against human-labeled ground truth.
  • Text Truncation: Character limits during classification (600 chars) and indexing (1,000 body chars / 400 comment chars) can cut off late-thread fixes. Mitigation: Use chunking or longer context windows where needed.

Storage Locations & Versioning

  • Hugging Face Hub: https://huggingface.co/datasets/jakndjskaj/github-issues-augmented-sample (versioned through Hub commits).
  • Notebooks & Artifacts: Task 1, Task 2, and Task 3 .ipynb notebooks are saved in Google Colab/Drive and downloaded locally, alongside task2_outputs/ (task2_pipeline_predictions.csv, task2_summary_metrics.json) and task3_outputs/ (github_issues_faiss.index, task3_semantic_search_results.csv, task3_index_metadata.json), backed up to approved local/institutional storage (such as OneDrive) without credentials.
Downloads last month
49