def get_headers(header_row):
    """ Takes array of headers and sets up a dictionary corresponding to columns. """
    ans = {}
    for i in range(len(header_row)):
        ans[header_row[i]] = i
        
    return ans