''' Purpose: demonstrate while loop and dict mappings ''' # get access to url support import url # where is the dog to notoriety mappings PUPPIES_CSV = 'http://www.cs.virginia.edu/~cs1112/datasets/csv/puppies.csv' # get csv contents database = url.get_csv_dataset( PUPPIES_CSV ) # get data set header = database[ 0 ] dataset = database[ 1 : ] print( header ) print( dataset ) print( ) # ???