In [18]:
import os.path as op
import numpy as np
import io3d
import pandas as pd
In [19]:
DATA_FILE = r"H:\cases.xlsx"
output_path = io3d.datasets.join_path("patient_id.csv")
In [20]:
df = pd.read_excel(DATA_FILE)[["Simple Patient ID", "Study ID", "Serie"]]
df["Simple Patient ID"] = df["Simple Patient ID"]
df.info()
In [21]:
df.to_csv(output_path, index=False)
In [1]:
pd.read_csv(output_path)
In [ ]: