This example contins some basic to advance level python operations on data using basic Python 3.6. No additional level libraries are included. The data set contians day's sale of Chipotle and we need some basic information based on that data.
- PART 1: Read in the file with csv.reader() and store it in an object called 'file_nested_list'.
- PART 2: Separate 'file_nested_list' into the 'header' and the 'data'.
- PART 3: Calculate the average price of an order.
- PART 4: Create a list (or set) of all unique sodas and soft drinks that they sell.
- PART 5: Calculate the average number of toppings per burrito.
- PART 6: Create a dictionary in which the keys represent chip orders and the values represent the total number of orders.
- PART 7: What is the Average number of items each order.