# Path: mimic3benchmark/util.py
# def dataframe_from_csv(path, header=0, index_col=0):
#     return pd.read_csv(path, header=header, index_col=index_col)


import csv
import numpy as np
import os
import pandas as pd
from tqdm import tqdm
from mimic3benchmark.util import dataframe_from_csv
from __future__ import absolute_import
from __future__ import print_function




def read_patients_table(mimic3_path):

# Path: mimic3benchmark/util.py
# def dataframe_from_csv(path, header=0, index_col=0):
#     return pd.read_csv(path, header=header, index_col=index_col)


# Path: mimic3benchmark/mimic3csv.py
import csv
import numpy as np
import os
import pandas as pd
from tqdm import tqdm
from mimic3benchmark.util import dataframe_from_csv

from __future__ import absolute_import
from __future__ import print_function




def read_patients_table(mimic3_path):

    pats = dataframe_from_csv(os.path.join(mimic3_path, 'PATIENTS.csv'))