Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Columns in the dataset obtained though load_dataset do not correspond to the one in the dataset viewer since 3.4.0 #7495

Open
bruno-hays opened this issue Apr 2, 2025 · 0 comments

Comments

@bruno-hays
Copy link
Contributor

bruno-hays commented Apr 2, 2025

Describe the bug

I have noticed that on my dataset named BrunoHays/Accueil_UBS, since the version 3.4.0, every column except audio is missing when I load the dataset.

Interestingly, the dataset viewer still shows the correct columns

Steps to reproduce the bug

from datasets import load_dataset
ds = load_dataset("BrunoHays/Accueil_UBS", streaming=True)
print(next(iter(ds["test"])).keys())

With datasets >= 3.4.0:
-> dict_keys(['audio'])
With datasets == 3.3.2:
-> dict_keys(['audio', 'id', 'speaker', 'sentence', 'raw_sentence', 'start_timestamp', 'end_timestamp', 'overlap'])

Expected behavior

All the columns should be present

Environment info

  • datasets version: 3.3.2
  • Platform: macOS-14.6.1-x86_64-i386-64bit
  • Python version: 3.10.15
  • huggingface_hub version: 0.30.1
  • PyArrow version: 16.1.0
  • Pandas version: 1.5.3
  • fsspec version: 2023.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant