import ast


def read_data(ifname):
    """Read in data: assuming no header, only numbers"""
    with open(ifname, "r") as fobj:
        data = (ast.literal_eval(num.strip()) for num in fobj.readlines())
    return data