""" Felix Muzny DS 2000 Homework 6 Dicts (starter code) """ import matplotlib.pyplot as plt import csv # provided FILENAME = "housing_boston.csv" NEIGHBORHOOD = "Neighborhood" MARKET_TOTAL = "TtlMarket" MARKET_OWN = "MarketOwn" INCOME_RESTR_TOTAL = "Total Income-Restricted" INCOME_RESTR_OWN = "Income-Restricted Ownership" # pick 5 of your own colors to go in this list! COLOR_CYCLE = [] # partially provided def read_file_as_list_of_dicts(filename, int_cols): """ Reads the given file as a list of dictionaries, using the first row of headers as key names :param filename: string location of file :param int_cols: list of columns to be converted to ints :return: list of dicts """ data = [] with open(filename, "r") as file: reader = csv.DictReader(file) # read through the file with a for loop like... # for row in reader: # each row is pre-processed as a dictionary # YOUR CODE HERE # you can put code inside the existing for loop, you can # put it after--the requirement is that it needs to work! # return the fully-cleaned data! return data # Your other functions here def main(): print("Homework 6 starter code") # your code here! main()