Dictionary Exercises

by Lingjie Wang and Ruotong Yang

04 Apr 2016

Reflections 1. The first challenge of this exercise is building the dictionary containing dictionary. A dictionary of state was built with value which is also a dictionary of number of transactions and total transaction values.
2. In order to deal with the one bad price in sales.csv, the try-except method was used.
3. To make the user have the option of choosing files, the index method of list was used. Also, as there are indexes added, we should be well-managed with the syntax. One problem can be counts of states all end up in 1.

Lingjie Wang is a first year master student studying Statistics and Operations Research Find Lingjie Wang on Twitter, Github, and on the web.
Ruotong Yang is a master student in STOR department at UNC Chapel Hill. Find Ruotong Yang on Twitter, Github, and on the web.