I have a list of lists that I would like to convert into:
dict[i]['name']
dict[i]['stars']
dict[i]['numrevs']
dict[i]['price']
dict[0]
tells me about the first column of data (Gus’s World Famous Fried Chicken)
the inner lists are as follows:
- restaurant name (name)
- star rating (stars)
- number of reviews (numrevs)
- price (price)
bigList = [
['Gus’s World Famous Fried Chicken', 'South City Kitchen - Midtown', 'Mary Mac’s Tea Room', 'Busy Bee Cafe', 'Richards’ Southern Fried', 'Greens & Gravy', 'Colonnade Restaurant', 'South City Kitchen Buckhead', 'Poor Calvin’s', 'Rock’s Chicken & Fries', 'Copeland’s'],
['4.0', '4.5', '4.0', '4.0', '4.0', '3.5', '4.0', '4.5', '4.5', '4.0', '3.5'],
[549, 1777, 2241, 481, 108, 93, 350, 248, 1558, 67, 288],
['$$', '$$', '$$', '$$', '$$', '$$', '$$', '$$', '$$', '$', '$$']]
Any help would really be appreciated.