import csv


def import_town(data_file):
    """
    Reads town raster data from a CSV file.

    Parameters
    ----------
    data_file : str
        Name of CSV raster data file to use for the town.

    Returns
    -------
    town : list
        List (cols) of lists (rows) representing raster data of the town. 

    """
    # Read in town data and format it as a list of lists
    with open(data_file, newline = "") as f:
        reader = csv.reader(f, quoting=csv.QUOTE_NONNUMERIC)
        town = []
        for row in reader:
            rowlist = []
            for value in row:
                rowlist.append(value)
            town.append(rowlist)
    
    return town