AK-12 commited on
Commit
aa0a08e
1 Parent(s): d804c25

Create medical.py

Browse files
Files changed (1) hide show
  1. medical.py +5 -0
medical.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from datasets import load_dataset, Dataset
2
+ csv_filename = "Medical_Data/oral_maxillofacial_surgery_with_text.csv"
3
+ df = pd.read_csv(csv_filename)
4
+ dataset = Dataset.from_pandas(df)
5
+ load_dataset(dataset)