""" Purpose: introductory take on examining a table of values """ # get access to web-based data support import url # set repository folder DATASET_FOLDER = "http://www.cs.virginia.edu/~cs1112/datasets/csv/" # get name of the dataset reply = input( "Enter name of dataset: " ) file_name = reply.strip() # specify link link = DATASET_FOLDER + file_name # get dataset table = url.get_dataset( link ) # get column of interest reply = input( "Enter column index: " ) c = int( reply ) print() # accumulate cells in the column c column = ... for row in table : # get cell in column c of the row cell = ... # add the cell to the column list ... print( "row", row, ": column", c, "cell:", cell ) print() print( "Column", c, ":", column )