# Can't load dataset with simple CSV files

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-dataset-with-simple-csv-files%2F76672%3E%5C
**Category:** 🤗Datasets\
**Created:** [March 9, 2024, 4:15pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-dataset-with-simple-csv-files%2F76672 "2024-03-09T16:15:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tddschn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/tddschn/32/24676_2.png) [@tddschn](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Ftddschn)%5C
**Post date:** [March 9, 2024, 4:15pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-dataset-with-simple-csv-files%2F76672%2F1 "2024-03-09T16:15:44Z")

</div>

The dataset I’m trying to load is [tddschn/tutorial · Datasets at Hugging Face](https://huggingface.co/datasets/tddschn/tutorial)

Metadata:

```yaml
configs:
- config_name: default
  data_files:
  - split: train
    path: "train.csv"
  - split: test
    path: "test.csv"

```

```py
from datasets import load_dataset

dataset = load_dataset("tddschn/tutorial")

```

I got the following error when running the code:

```auto
FileNotFoundError: Couldn't find a dataset script at /Users/tscp/testdir/hf-tutorial/tddschn/tutorial/tutorial.py 
or any data file in the same directory. Couldn't find 'tddschn/tutorial' on the Hugging Face Hub either: 
FileNotFoundError: Unable to find 
'hf://datasets/tddschn/tutorial@d08d4b392d9a4758c37e620e6e3c3de6ec58d18b/train.csv' with any supported extension 
['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', 
'.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', 
'.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', 
'.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', 
'.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', 
'.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', 
'.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', 
'.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', 
'.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', 
'.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', 
'.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', 
'.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', 
'.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', 
'.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', 
'.zip']

```

train.csv is clearly a csv file, so why does the library complain?

Thank you.

---

<div class="post-metadata">

**Author:** ![severo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/severo/32/27449_2.png) [@severo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsevero)%5C
**Post date:** [March 11, 2024, 8:12am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-dataset-with-simple-csv-files%2F76672%2F2 "2024-03-11T08:12:05Z")

</div>

It seems like it works now. Surely due to our dataset viewer taking some time to refresh.
