import csv


def read_csv(fn):
    """
    read in csv data

    Parameters
    ----------
    fn : str
        filename

    Returns
    -------
    list
    """
    arr = []
    with open(fn, newline='') as f:
        reader = csv.reader(f)
        for row in reader:
            arr.append(row)
    return arr