Medical_Data / medical.py
AK-12's picture
Create medical.py
aa0a08e
raw
history blame
200 Bytes
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)