You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dataset.from_list silently drops rows when records are empty dictionaries #9128
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
fromdatasetsimportDatasetds=Dataset.from_list([{}, {}])
print(len(ds)) # 0 on the affected version, should be 2print(ds.to_list()) # [] on the affected version, should be [{}, {}]
The regression test is in tests/test_dataset_list.py.
Expected behavior
The dataset should have two rows and no columns: len(ds) == 2 and ds.to_list() == [{}, {}].
Actual behavior
The dataset has zero rows and no columns: len(ds) == 0 and ds.to_list() == [].
Activity
a-shuash-u commentedon Nov 22, 2026
Hi , i would like to work on this!