MySpace / load_dataset.py
Lexim011's picture
Update load_dataset.py
34b6a6d verified
raw
history blame contribute delete
227 Bytes
from datasets import load_dataset
# Load your local CSV dataset
dataset = load_dataset('csv', data_files='CCI_Details_Structured_Full.csv')
# Print out the first example to understand the structure
print(dataset['train'][0])