File size: 200 Bytes
aa0a08e
 
 
 
 
1
2
3
4
5
from datasets import load_dataset, Dataset
csv_filename = "Medical_Data/oral_maxillofacial_surgery_with_text.csv"
df = pd.read_csv(csv_filename)
dataset = Dataset.from_pandas(df)
load_dataset(dataset)