import csv


def read_csv(csv_path, id_column=0, delimiter=","):
    """
    Reads tsv file content into a dict. Key is the id column value and the value is list of row values
    Args:
        csv_path: Path of the CSV file
        id_column: Id column becomes the key of the dict. This column should be unique. Default is the first column.
        delimiter: Value delimiter. Default is comma.

    Returns:
        CSV content dict. Key is the first column value and the value is list of row values.
    """
    records = dict()
    with open(csv_path) as fd:
        rd = csv.reader(fd, delimiter=delimiter, quotechar='"')
        for row in rd:
            _id = row[id_column]
            records[_id] = row

    return records