Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Python pandas workshop iPython notebook (163 pages)

Python pandas workshop iPython notebook (163 pages)

Pandas Workshop by Wes McKinnney at Data Science London 17/10/12 You can also access this link Link http://bit.ly/WmMp4A

Data Science London

October 17, 2012
Tweet

More Decks by Data Science London

Other Decks in Technology

Transcript

  1. 26/01/2013 08:36 Page 1 of 163 http://nbviewer.ipython.org/3904875/ In [2]: print

    'hello, world!' plt.plot(randn(1000).cumsum()) In [ ]: import numpy as np import pandas as pd import simplejson as json db_path = 'foods-2011-10-03.json' In [3]: a = [1, 2, 3, 4, 5] In [6]: import numpy as np In [7]: arr = np.array(a) arr In [16]: sum(a) In [18]: a In [25]: (np.array(a) * 5).mean() In [26]: labels = ['a', 'b', 'c', 'd', 'e'] print labels print a Download notebook hello, world! Out[2]: [<matplotlib.lines.Line2D at 0x10a566c50>] Out[7]: array([1, 2, 3, 4, 5]) Out[16]: 15 Out[18]: [1, 2, 3, 4, 5] Out[25]: 15.0 ['a', 'b', 'c', 'd', 'e'] [1, 2, 3, 4, 5]
  2. 26/01/2013 08:36 Page 2 of 163 http://nbviewer.ipython.org/3904875/ In [27]: import

    pandas as pd In [29]: s = pd.Series(a, labels) s In [36]: arr[arr > 3] In [53]: dct = {'a' : 1, 'b' : 4, 'c': 7} s = pd.Series(dct, index=['c', 'a', 'b', 'd']) s[-s.isnull()] In [57]: s.index In [59]: pd.set_printoptions(notebook_repr_html=False) In [62]: data = {'one': [1, 2, 3, 4], 'two': ['foo', 'bar', 'baz', 'qux']} df = pd.DataFrame(data, index=['a', 'b', 'c', 'd']) In [65]: df['three'] = df['one'] * 4 In [68]: df.values[2] In [75]: df In [79]: s1 = df['one'] s2 = df['one'][:3] s2 In [81]: pd.DataFrame({1: s1, 2: s2}, index=['b', 'a', 'd']) Out[29]: a 1 b 2 c 3 d 4 e 5 Out[36]: array([4, 5]) Out[53]: c 7 a 1 b 4 Out[57]: Index([c, a, b, d], dtype=object) Out[68]: array([3, baz, 12], dtype=object) Out[75]: one two three a 1 foo 4 b 2 bar 8 c 3 baz 12 d 4 qux 16 Out[79]: a 1 b 2 c 3 Name: one
  3. 26/01/2013 08:36 Page 3 of 163 http://nbviewer.ipython.org/3904875/ In [90]: (s1

    + s2).fillna(method='ffill') In [91]: import numpy as np import pandas as pd import simplejson as json db_path = 'foods-2011-10-03.json' db = json.load(open(db_path)) In [96]: nts = pd.DataFrame(db[0]['nutrients']) In [110]: nts Out[81]: 1 2 b 2 2 a 1 1 d 4 NaN Out[90]: a 2 b 4 c 6 d 6 Name: one Out[110]: description group units value 0 Protein Composition g 25.180 1 Total lipid (fat) Composition g 29.200 2 Carbohydrate, by difference Composition g 3.060 3 Ash Other g 3.280 4 Energy Energy kcal 376.000 5 Water Composition g 39.280 6 Energy Energy kJ 1573.000 7 Fiber, total dietary Composition g 0.000 8 Calcium, Ca Elements mg 673.000 9 Iron, Fe Elements mg 0.640 10 Magnesium, Mg Elements mg 22.000 11 Phosphorus, P Elements mg 490.000 12 Potassium, K Elements mg 93.000 13 Sodium, Na Elements mg 690.000 14 Zinc, Zn Elements mg 2.940 15 Copper, Cu Elements mg 0.024 16 Manganese, Mn Elements mg 0.021 17 Selenium, Se Elements mcg 14.500 18 Vitamin A, IU Vitamins IU 1054.000 19 Retinol Vitamins mcg 262.000 20 Vitamin A, RAE Vitamins mcg_RAE 271.000 21 Vitamin C, total ascorbic acid Vitamins mg 0.000 22 Thiamin Vitamins mg 0.031 23 Riboflavin Vitamins mg 0.450 24 Niacin Vitamins mg 0.180 25 Pantothenic acid Vitamins mg 0.190 26 Vitamin B-6 Vitamins mg 0.074 27 Folate, total Vitamins mcg 18.000 28 Vitamin B-12 Vitamins mcg 0.270 29 Folic acid Vitamins mcg 0.000 30 Folate, food Vitamins mcg 18.000 31 Folate, DFE Vitamins mcg_DFE 18.000 32 Cholesterol Other mg 93.000 33 Fatty acids, total saturated Other g 18.584 34 Fatty acids, total monounsaturated Other g 8.275
  4. 26/01/2013 08:36 Page 4 of 163 http://nbviewer.ipython.org/3904875/ 35 Fatty acids,

    total polyunsaturated Other g 0.830 36 Tryptophan Amino Acids g 0.324 37 Threonine Amino Acids g 0.896 38 Isoleucine Amino Acids g 1.563 39 Leucine Amino Acids g 2.412 40 Lysine Amino Acids g 2.095 41 Methionine Amino Acids g 0.659 42 Cystine Amino Acids g 0.126 43 Phenylalanine Amino Acids g 1.326 44 Tyrosine Amino Acids g 1.216 45 Valine Amino Acids g 1.682 46 Arginine Amino Acids g 0.952 47 Histidine Amino Acids g 0.884 48 Alanine Amino Acids g 0.711 49 Aspartic acid Amino Acids g 1.618 50 Glutamic acid Amino Acids g 6.160 51 Glycine Amino Acids g 0.439 52 Proline Amino Acids g 2.838 53 Serine Amino Acids g 1.472 54 Protein Composition g 25.180 55 Total lipid (fat) Composition g 29.200 56 Carbohydrate, by difference Composition g 3.060 57 Ash Other g 3.280 58 Energy Energy kcal 376.000 59 Water Composition g 39.280 60 Energy Energy kJ 1573.000 61 Fiber, total dietary Composition g 0.000 62 Calcium, Ca Elements mg 673.000 63 Iron, Fe Elements mg 0.640 64 Magnesium, Mg Elements mg 22.000 65 Phosphorus, P Elements mg 490.000 66 Potassium, K Elements mg 93.000 67 Sodium, Na Elements mg 690.000 68 Zinc, Zn Elements mg 2.940 69 Copper, Cu Elements mg 0.024 70 Manganese, Mn Elements mg 0.021 71 Selenium, Se Elements mcg 14.500 72 Vitamin A, IU Vitamins IU 1054.000 73 Retinol Vitamins mcg 262.000 74 Vitamin A, RAE Vitamins mcg_RAE 271.000 75 Vitamin C, total ascorbic acid Vitamins mg 0.000 76 Thiamin Vitamins mg 0.031 77 Riboflavin Vitamins mg 0.450 78 Niacin Vitamins mg 0.180 79 Pantothenic acid Vitamins mg 0.190 80 Vitamin B-6 Vitamins mg 0.074 81 Folate, total Vitamins mcg 18.000 82 Vitamin B-12 Vitamins mcg 0.270 83 Folic acid Vitamins mcg 0.000 84 Folate, food Vitamins mcg 18.000 85 Folate, DFE Vitamins mcg_DFE 18.000 86 Tryptophan Amino Acids g 0.324 87 Threonine Amino Acids g 0.896 88 Isoleucine Amino Acids g 1.563 89 Leucine Amino Acids g 2.412 90 Lysine Amino Acids g 2.095 91 Methionine Amino Acids g 0.659 92 Cystine Amino Acids g 0.126 93 Phenylalanine Amino Acids g 1.326 94 Tyrosine Amino Acids g 1.216 95 Valine Amino Acids g 1.682 96 Arginine Amino Acids g 0.952 97 Histidine Amino Acids g 0.884
  5. 26/01/2013 08:36 Page 5 of 163 http://nbviewer.ipython.org/3904875/ 98 Alanine Amino

    Acids g 0.711 99 Aspartic acid Amino Acids g 1.618 100 Glutamic acid Amino Acids g 6.160 101 Glycine Amino Acids g 0.439 102 Proline Amino Acids g 2.838 103 Serine Amino Acids g 1.472 104 Cholesterol Other mg 93.000 105 Fatty acids, total saturated Other g 18.584 106 Fatty acids, total monounsaturated Other g 8.275 107 Fatty acids, total polyunsaturated Other g 0.830 108 Protein Composition g 25.180 109 Total lipid (fat) Composition g 29.200 110 Carbohydrate, by difference Composition g 3.060 111 Ash Other g 3.280 112 Energy Energy kcal 376.000 113 Water Composition g 39.280 114 Energy Energy kJ 1573.000 115 Fiber, total dietary Composition g 0.000 116 Calcium, Ca Elements mg 673.000 117 Iron, Fe Elements mg 0.640 118 Magnesium, Mg Elements mg 22.000 119 Phosphorus, P Elements mg 490.000 120 Potassium, K Elements mg 93.000 121 Sodium, Na Elements mg 690.000 122 Zinc, Zn Elements mg 2.940 123 Copper, Cu Elements mg 0.024 124 Manganese, Mn Elements mg 0.021 125 Selenium, Se Elements mcg 14.500 126 Vitamin A, IU Vitamins IU 1054.000 127 Retinol Vitamins mcg 262.000 128 Vitamin A, RAE Vitamins mcg_RAE 271.000 129 Vitamin C, total ascorbic acid Vitamins mg 0.000 130 Thiamin Vitamins mg 0.031 131 Riboflavin Vitamins mg 0.450 132 Niacin Vitamins mg 0.180 133 Pantothenic acid Vitamins mg 0.190 134 Vitamin B-6 Vitamins mg 0.074 135 Folate, total Vitamins mcg 18.000 136 Vitamin B-12 Vitamins mcg 0.270 137 Folic acid Vitamins mcg 0.000 138 Folate, food Vitamins mcg 18.000 139 Folate, DFE Vitamins mcg_DFE 18.000 140 Tryptophan Amino Acids g 0.324 141 Threonine Amino Acids g 0.896 142 Isoleucine Amino Acids g 1.563 143 Leucine Amino Acids g 2.412 144 Lysine Amino Acids g 2.095 145 Methionine Amino Acids g 0.659 146 Cystine Amino Acids g 0.126 147 Phenylalanine Amino Acids g 1.326 148 Tyrosine Amino Acids g 1.216 149 Valine Amino Acids g 1.682 150 Arginine Amino Acids g 0.952 151 Histidine Amino Acids g 0.884 152 Alanine Amino Acids g 0.711 153 Aspartic acid Amino Acids g 1.618 154 Glutamic acid Amino Acids g 6.160 155 Glycine Amino Acids g 0.439 156 Proline Amino Acids g 2.838 157 Serine Amino Acids g 1.472 158 Cholesterol Other mg 93.000 159 Fatty acids, total saturated Other g 18.584 160 Fatty acids, total monounsaturated Other g 8.275
  6. 26/01/2013 08:36 Page 6 of 163 http://nbviewer.ipython.org/3904875/ In [114]: #

    pd.set_printoptions(max_rows=10000) In [118]: len(nts) In [116]: id_fields = ['id', 'description', 'group'] info = pd.DataFrame(db, columns=id_fields) info[:50] 161 Fatty acids, total polyunsaturated Other g 0.830 Out[118]: 162 Out[116]: id description group 0 1008 Cheese, caraway Dairy and Egg Products 1 1009 Cheese, cheddar Dairy and Egg Products 2 1018 Cheese, edam Dairy and Egg Products 3 1019 Cheese, feta Dairy and Egg Products 4 1028 Cheese, mozzarella, part skim milk Dairy and Egg Products 5 1029 Cheese, mozzarella, part skim milk, low moisture Dairy and Egg Products 6 1038 Cheese, romano Dairy and Egg Products 7 1039 Cheese, roquefort Dairy and Egg Products 8 1048 Cheese spread, pasteurized process, american, ... Dairy and Egg Products 9 1049 Cream, fluid, half and half Dairy and Egg Products 10 1058 Sour dressing, non-butterfat, cultured, filled... Dairy and Egg Products 11 1059 Milk, filled, fluid, with blend of hydrogenate... Dairy and Egg Products 12 1068 Cream substitute, liquid, with lauric acid oil... Dairy and Egg Products 13 1069 Cream substitute, powdered Dairy and Egg Products 14 1078 Milk, producer, fluid, 3.7% milkfat Dairy and Egg Products 15 1079 Milk, reduced fat, fluid, 2% milkfat, with add... Dairy and Egg Products 16 1080 Milk, reduced fat, fluid, 2% milkfat, with add... Dairy and Egg Products 17 1081 Milk, reduced fat, fluid, 2% milkfat, protein ... Dairy and Egg Products 18 1082 Milk, lowfat, fluid, 1% milkfat, with added vi... Dairy and Egg Products 19 1083 Milk, lowfat, fluid, 1% milkfat, with added no... Dairy and Egg Products 20 1084 Milk, lowfat, fluid, 1% milkfat, protein forti... Dairy and Egg Products 21 1085 Milk, nonfat, fluid, with added vitamin A and ... Dairy and Egg Products 22 1086 Milk, nonfat, fluid, with added nonfat milk so... Dairy and Egg Products 23 1087 Milk, nonfat, fluid, protein fortified, with a... Dairy and Egg Products 24 1088 Milk, buttermilk, fluid, cultured, lowfat Dairy and Egg Products 25 1089 Milk, low sodium, fluid Dairy and Egg Products 26 1090 Milk, dry, whole, with added vitamin D Dairy and Egg Products 27 1091 Milk, dry, nonfat, regular, without added vita... Dairy and Egg Products 28 1092 Milk, dry, nonfat, instant, with added vitamin... Dairy and Egg Products 29 1093 Milk, dry, nonfat, calcium reduced Dairy and Egg Products 30 1094 Milk, buttermilk, dried Dairy and Egg Products 31 1095 Milk, canned, condensed, sweetened Dairy and Egg Products 32 1096 Milk, canned, evaporated, with added vitamin D... Dairy and Egg Products 33 1097 Milk, canned, evaporated, nonfat, with added v... Dairy and Egg Products 34 1108 Milk, indian buffalo, fluid Dairy and Egg Products 35 1109 Milk, sheep, fluid Dairy and Egg Products 36 1118 Yogurt, plain, skim milk, 13 grams protein per... Dairy and Egg Products 37 1119 Yogurt, vanilla, low fat, 11 grams protein per... Dairy and Egg Products 38 1128 Egg, whole, cooked, fried Dairy and Egg Products 39 1129 Egg, whole, cooked, hard-boiled Dairy and Egg Products 40 1138 Egg, duck, whole, fresh, raw Dairy and Egg Products 41 1139 Egg, goose, whole, fresh, raw Dairy and Egg Products 42 1148 Cheese, pasteurized process, swiss, without di... Dairy and Egg Products 43 1149 Cheese food, pasteurized process, american, wi... Dairy and Egg Products 44 1159 Cheese, goat, soft type Dairy and Egg Products 45 1168 Cheese, low fat, cheddar or colby Dairy and Egg Products 46 1169 Cheese, low-sodium, cheddar or colby Dairy and Egg Products 47 1178 Sour cream, reduced fat Dairy and Egg Products
  7. 26/01/2013 08:36 Page 7 of 163 http://nbviewer.ipython.org/3904875/ In [109]: len(db)

    In [108]: db[0] 48 1179 Sour cream, light Dairy and Egg Products 49 1180 Sour cream, fat free Dairy and Egg Products Out[109]: 6636 Out[108]: {'description': 'Cheese, caraway', 'group': 'Dairy and Egg Products', 'id': 1008, 'manufacturer': '', 'nutrients': [{'description': 'Protein', 'group': 'Composition', 'units': 'g', 'value': 25.18}, {'description': 'Total lipid (fat)', 'group': 'Composition', 'units': 'g', 'value': 29.2}, {'description': 'Carbohydrate, by difference', 'group': 'Composition', 'units': 'g', 'value': 3.06}, {'description': 'Ash', 'group': 'Other', 'units': 'g', 'value': 3.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kcal', 'value': 376.0}, {'description': 'Water', 'group': 'Composition', 'units': 'g', 'value': 39.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kJ', 'value': 1573.0}, {'description': 'Fiber, total dietary', 'group': 'Composition', 'units': 'g', 'value': 0.0}, {'description': 'Calcium, Ca', 'group': 'Elements', 'units': 'mg', 'value': 673.0}, {'description': 'Iron, Fe', 'group': 'Elements', 'units': 'mg', 'value': 0.64}, {'description': 'Magnesium, Mg', 'group': 'Elements', 'units': 'mg', 'value': 22.0}, {'description': 'Phosphorus, P', 'group': 'Elements', 'units': 'mg', 'value': 490.0}, {'description': 'Potassium, K', 'group': 'Elements', 'units': 'mg', 'value': 93.0}, {'description': 'Sodium, Na', 'group': 'Elements', 'units': 'mg',
  8. 26/01/2013 08:36 Page 8 of 163 http://nbviewer.ipython.org/3904875/ 'value': 690.0}, {'description':

    'Zinc, Zn', 'group': 'Elements', 'units': 'mg', 'value': 2.94}, {'description': 'Copper, Cu', 'group': 'Elements', 'units': 'mg', 'value': 0.024}, {'description': 'Manganese, Mn', 'group': 'Elements', 'units': 'mg', 'value': 0.021}, {'description': 'Selenium, Se', 'group': 'Elements', 'units': 'mcg', 'value': 14.5}, {'description': 'Vitamin A, IU', 'group': 'Vitamins', 'units': 'IU', 'value': 1054.0}, {'description': 'Retinol', 'group': 'Vitamins', 'units': 'mcg', 'value': 262.0}, {'description': 'Vitamin A, RAE', 'group': 'Vitamins', 'units': 'mcg_RAE', 'value': 271.0}, {'description': 'Vitamin C, total ascorbic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.0}, {'description': 'Thiamin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.031}, {'description': 'Riboflavin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.45}, {'description': 'Niacin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.18}, {'description': 'Pantothenic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.19}, {'description': 'Vitamin B-6', 'group': 'Vitamins', 'units': 'mg', 'value': 0.074}, {'description': 'Folate, total', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Vitamin B-12', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.27}, {'description': 'Folic acid', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.0}, {'description': 'Folate, food',
  9. 26/01/2013 08:36 Page 9 of 163 http://nbviewer.ipython.org/3904875/ 'group': 'Vitamins', 'units':

    'mcg', 'value': 18.0}, {'description': 'Folate, DFE', 'group': 'Vitamins', 'units': 'mcg_DFE', 'value': 18.0}, {'description': 'Cholesterol', 'group': 'Other', 'units': 'mg', 'value': 93.0}, {'description': 'Fatty acids, total saturated', 'group': 'Other', 'units': 'g', 'value': 18.584}, {'description': 'Fatty acids, total monounsaturated', 'group': 'Other', 'units': 'g', 'value': 8.275}, {'description': 'Fatty acids, total polyunsaturated', 'group': 'Other', 'units': 'g', 'value': 0.83}, {'description': 'Tryptophan', 'group': 'Amino Acids', 'units': 'g', 'value': 0.324}, {'description': 'Threonine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.896}, {'description': 'Isoleucine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.563}, {'description': 'Leucine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.412}, {'description': 'Lysine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.095}, {'description': 'Methionine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.659}, {'description': 'Cystine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.126}, {'description': 'Phenylalanine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.326}, {'description': 'Tyrosine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.216}, {'description': 'Valine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.682},
  10. 26/01/2013 08:36 Page 10 of 163 http://nbviewer.ipython.org/3904875/ {'description': 'Arginine', 'group':

    'Amino Acids', 'units': 'g', 'value': 0.952}, {'description': 'Histidine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.884}, {'description': 'Alanine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.711}, {'description': 'Aspartic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 1.618}, {'description': 'Glutamic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 6.16}, {'description': 'Glycine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.439}, {'description': 'Proline', 'group': 'Amino Acids', 'units': 'g', 'value': 2.838}, {'description': 'Serine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.472}, {'description': 'Protein', 'group': 'Composition', 'units': 'g', 'value': 25.18}, {'description': 'Total lipid (fat)', 'group': 'Composition', 'units': 'g', 'value': 29.2}, {'description': 'Carbohydrate, by difference', 'group': 'Composition', 'units': 'g', 'value': 3.06}, {'description': 'Ash', 'group': 'Other', 'units': 'g', 'value': 3.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kcal', 'value': 376.0}, {'description': 'Water', 'group': 'Composition', 'units': 'g', 'value': 39.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kJ', 'value': 1573.0}, {'description': 'Fiber, total dietary', 'group': 'Composition', 'units': 'g', 'value': 0.0}, {'description': 'Calcium, Ca', 'group': 'Elements', 'units': 'mg', 'value': 673.0}, {'description': 'Iron, Fe',
  11. 26/01/2013 08:36 Page 11 of 163 http://nbviewer.ipython.org/3904875/ 'group': 'Elements', 'units':

    'mg', 'value': 0.64}, {'description': 'Magnesium, Mg', 'group': 'Elements', 'units': 'mg', 'value': 22.0}, {'description': 'Phosphorus, P', 'group': 'Elements', 'units': 'mg', 'value': 490.0}, {'description': 'Potassium, K', 'group': 'Elements', 'units': 'mg', 'value': 93.0}, {'description': 'Sodium, Na', 'group': 'Elements', 'units': 'mg', 'value': 690.0}, {'description': 'Zinc, Zn', 'group': 'Elements', 'units': 'mg', 'value': 2.94}, {'description': 'Copper, Cu', 'group': 'Elements', 'units': 'mg', 'value': 0.024}, {'description': 'Manganese, Mn', 'group': 'Elements', 'units': 'mg', 'value': 0.021}, {'description': 'Selenium, Se', 'group': 'Elements', 'units': 'mcg', 'value': 14.5}, {'description': 'Vitamin A, IU', 'group': 'Vitamins', 'units': 'IU', 'value': 1054.0}, {'description': 'Retinol', 'group': 'Vitamins', 'units': 'mcg', 'value': 262.0}, {'description': 'Vitamin A, RAE', 'group': 'Vitamins', 'units': 'mcg_RAE', 'value': 271.0}, {'description': 'Vitamin C, total ascorbic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.0}, {'description': 'Thiamin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.031}, {'description': 'Riboflavin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.45}, {'description': 'Niacin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.18}, {'description': 'Pantothenic acid', 'group': 'Vitamins', 'units': 'mg',
  12. 26/01/2013 08:36 Page 12 of 163 http://nbviewer.ipython.org/3904875/ 'value': 0.19}, {'description':

    'Vitamin B-6', 'group': 'Vitamins', 'units': 'mg', 'value': 0.074}, {'description': 'Folate, total', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Vitamin B-12', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.27}, {'description': 'Folic acid', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.0}, {'description': 'Folate, food', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Folate, DFE', 'group': 'Vitamins', 'units': 'mcg_DFE', 'value': 18.0}, {'description': 'Tryptophan', 'group': 'Amino Acids', 'units': 'g', 'value': 0.324}, {'description': 'Threonine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.896}, {'description': 'Isoleucine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.563}, {'description': 'Leucine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.412}, {'description': 'Lysine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.095}, {'description': 'Methionine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.659}, {'description': 'Cystine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.126}, {'description': 'Phenylalanine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.326}, {'description': 'Tyrosine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.216}, {'description': 'Valine', 'group': 'Amino Acids',
  13. 26/01/2013 08:36 Page 13 of 163 http://nbviewer.ipython.org/3904875/ 'units': 'g', 'value':

    1.682}, {'description': 'Arginine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.952}, {'description': 'Histidine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.884}, {'description': 'Alanine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.711}, {'description': 'Aspartic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 1.618}, {'description': 'Glutamic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 6.16}, {'description': 'Glycine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.439}, {'description': 'Proline', 'group': 'Amino Acids', 'units': 'g', 'value': 2.838}, {'description': 'Serine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.472}, {'description': 'Cholesterol', 'group': 'Other', 'units': 'mg', 'value': 93.0}, {'description': 'Fatty acids, total saturated', 'group': 'Other', 'units': 'g', 'value': 18.584}, {'description': 'Fatty acids, total monounsaturated', 'group': 'Other', 'units': 'g', 'value': 8.275}, {'description': 'Fatty acids, total polyunsaturated', 'group': 'Other', 'units': 'g', 'value': 0.83}, {'description': 'Protein', 'group': 'Composition', 'units': 'g', 'value': 25.18}, {'description': 'Total lipid (fat)', 'group': 'Composition', 'units': 'g', 'value': 29.2}, {'description': 'Carbohydrate, by difference', 'group': 'Composition', 'units': 'g', 'value': 3.06}, {'description': 'Ash', 'group': 'Other', 'units': 'g', 'value': 3.28},
  14. 26/01/2013 08:36 Page 14 of 163 http://nbviewer.ipython.org/3904875/ {'description': 'Energy', 'group':

    'Energy', 'units': 'kcal', 'value': 376.0}, {'description': 'Water', 'group': 'Composition', 'units': 'g', 'value': 39.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kJ', 'value': 1573.0}, {'description': 'Fiber, total dietary', 'group': 'Composition', 'units': 'g', 'value': 0.0}, {'description': 'Calcium, Ca', 'group': 'Elements', 'units': 'mg', 'value': 673.0}, {'description': 'Iron, Fe', 'group': 'Elements', 'units': 'mg', 'value': 0.64}, {'description': 'Magnesium, Mg', 'group': 'Elements', 'units': 'mg', 'value': 22.0}, {'description': 'Phosphorus, P', 'group': 'Elements', 'units': 'mg', 'value': 490.0}, {'description': 'Potassium, K', 'group': 'Elements', 'units': 'mg', 'value': 93.0}, {'description': 'Sodium, Na', 'group': 'Elements', 'units': 'mg', 'value': 690.0}, {'description': 'Zinc, Zn', 'group': 'Elements', 'units': 'mg', 'value': 2.94}, {'description': 'Copper, Cu', 'group': 'Elements', 'units': 'mg', 'value': 0.024}, {'description': 'Manganese, Mn', 'group': 'Elements', 'units': 'mg', 'value': 0.021}, {'description': 'Selenium, Se', 'group': 'Elements', 'units': 'mcg', 'value': 14.5}, {'description': 'Vitamin A, IU', 'group': 'Vitamins', 'units': 'IU', 'value': 1054.0}, {'description': 'Retinol', 'group': 'Vitamins', 'units': 'mcg', 'value': 262.0}, {'description': 'Vitamin A, RAE', 'group': 'Vitamins',
  15. 26/01/2013 08:36 Page 15 of 163 http://nbviewer.ipython.org/3904875/ 'units': 'mcg_RAE', 'value':

    271.0}, {'description': 'Vitamin C, total ascorbic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.0}, {'description': 'Thiamin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.031}, {'description': 'Riboflavin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.45}, {'description': 'Niacin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.18}, {'description': 'Pantothenic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.19}, {'description': 'Vitamin B-6', 'group': 'Vitamins', 'units': 'mg', 'value': 0.074}, {'description': 'Folate, total', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Vitamin B-12', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.27}, {'description': 'Folic acid', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.0}, {'description': 'Folate, food', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Folate, DFE', 'group': 'Vitamins', 'units': 'mcg_DFE', 'value': 18.0}, {'description': 'Tryptophan', 'group': 'Amino Acids', 'units': 'g', 'value': 0.324}, {'description': 'Threonine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.896}, {'description': 'Isoleucine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.563}, {'description': 'Leucine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.412}, {'description': 'Lysine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.095},
  16. 26/01/2013 08:36 Page 16 of 163 http://nbviewer.ipython.org/3904875/ {'description': 'Methionine', 'group':

    'Amino Acids', 'units': 'g', 'value': 0.659}, {'description': 'Cystine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.126}, {'description': 'Phenylalanine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.326}, {'description': 'Tyrosine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.216}, {'description': 'Valine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.682}, {'description': 'Arginine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.952}, {'description': 'Histidine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.884}, {'description': 'Alanine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.711}, {'description': 'Aspartic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 1.618}, {'description': 'Glutamic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 6.16}, {'description': 'Glycine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.439}, {'description': 'Proline', 'group': 'Amino Acids', 'units': 'g', 'value': 2.838}, {'description': 'Serine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.472}, {'description': 'Cholesterol', 'group': 'Other', 'units': 'mg', 'value': 93.0}, {'description': 'Fatty acids, total saturated', 'group': 'Other', 'units': 'g', 'value': 18.584}, {'description': 'Fatty acids, total monounsaturated', 'group': 'Other', 'units': 'g',
  17. 26/01/2013 08:36 Page 17 of 163 http://nbviewer.ipython.org/3904875/ In [107]: nts

    'value': 8.275}, {'description': 'Fatty acids, total polyunsaturated', 'group': 'Other', 'units': 'g', 'value': 0.83}], 'portions': [{'amount': 1, 'grams': 28.35, 'unit': 'oz'}], 'tags': []} Out[107]: description group units value 0 Protein Composition g 25.180 1 Total lipid (fat) Composition g 29.200 2 Carbohydrate, by difference Composition g 3.060 3 Ash Other g 3.280 4 Energy Energy kcal 376.000 5 Water Composition g 39.280 6 Energy Energy kJ 1573.000 7 Fiber, total dietary Composition g 0.000 8 Calcium, Ca Elements mg 673.000 9 Iron, Fe Elements mg 0.640 10 Magnesium, Mg Elements mg 22.000 11 Phosphorus, P Elements mg 490.000 12 Potassium, K Elements mg 93.000 13 Sodium, Na Elements mg 690.000 14 Zinc, Zn Elements mg 2.940 15 Copper, Cu Elements mg 0.024 16 Manganese, Mn Elements mg 0.021 17 Selenium, Se Elements mcg 14.500 18 Vitamin A, IU Vitamins IU 1054.000 19 Retinol Vitamins mcg 262.000 20 Vitamin A, RAE Vitamins mcg_RAE 271.000 21 Vitamin C, total ascorbic acid Vitamins mg 0.000 22 Thiamin Vitamins mg 0.031 23 Riboflavin Vitamins mg 0.450 24 Niacin Vitamins mg 0.180 25 Pantothenic acid Vitamins mg 0.190 26 Vitamin B-6 Vitamins mg 0.074 27 Folate, total Vitamins mcg 18.000 28 Vitamin B-12 Vitamins mcg 0.270 29 Folic acid Vitamins mcg 0.000 30 Folate, food Vitamins mcg 18.000 31 Folate, DFE Vitamins mcg_DFE 18.000 32 Cholesterol Other mg 93.000 33 Fatty acids, total saturated Other g 18.584 34 Fatty acids, total monounsaturated Other g 8.275 35 Fatty acids, total polyunsaturated Other g 0.830 36 Tryptophan Amino Acids g 0.324 37 Threonine Amino Acids g 0.896 38 Isoleucine Amino Acids g 1.563 39 Leucine Amino Acids g 2.412 40 Lysine Amino Acids g 2.095 41 Methionine Amino Acids g 0.659 42 Cystine Amino Acids g 0.126 43 Phenylalanine Amino Acids g 1.326 44 Tyrosine Amino Acids g 1.216 45 Valine Amino Acids g 1.682 46 Arginine Amino Acids g 0.952 47 Histidine Amino Acids g 0.884 48 Alanine Amino Acids g 0.711 49 Aspartic acid Amino Acids g 1.618 50 Glutamic acid Amino Acids g 6.160
  18. 26/01/2013 08:36 Page 18 of 163 http://nbviewer.ipython.org/3904875/ 51 Glycine Amino

    Acids g 0.439 52 Proline Amino Acids g 2.838 53 Serine Amino Acids g 1.472 54 Protein Composition g 25.180 55 Total lipid (fat) Composition g 29.200 56 Carbohydrate, by difference Composition g 3.060 57 Ash Other g 3.280 58 Energy Energy kcal 376.000 59 Water Composition g 39.280 60 Energy Energy kJ 1573.000 61 Fiber, total dietary Composition g 0.000 62 Calcium, Ca Elements mg 673.000 63 Iron, Fe Elements mg 0.640 64 Magnesium, Mg Elements mg 22.000 65 Phosphorus, P Elements mg 490.000 66 Potassium, K Elements mg 93.000 67 Sodium, Na Elements mg 690.000 68 Zinc, Zn Elements mg 2.940 69 Copper, Cu Elements mg 0.024 70 Manganese, Mn Elements mg 0.021 71 Selenium, Se Elements mcg 14.500 72 Vitamin A, IU Vitamins IU 1054.000 73 Retinol Vitamins mcg 262.000 74 Vitamin A, RAE Vitamins mcg_RAE 271.000 75 Vitamin C, total ascorbic acid Vitamins mg 0.000 76 Thiamin Vitamins mg 0.031 77 Riboflavin Vitamins mg 0.450 78 Niacin Vitamins mg 0.180 79 Pantothenic acid Vitamins mg 0.190 80 Vitamin B-6 Vitamins mg 0.074 81 Folate, total Vitamins mcg 18.000 82 Vitamin B-12 Vitamins mcg 0.270 83 Folic acid Vitamins mcg 0.000 84 Folate, food Vitamins mcg 18.000 85 Folate, DFE Vitamins mcg_DFE 18.000 86 Tryptophan Amino Acids g 0.324 87 Threonine Amino Acids g 0.896 88 Isoleucine Amino Acids g 1.563 89 Leucine Amino Acids g 2.412 90 Lysine Amino Acids g 2.095 91 Methionine Amino Acids g 0.659 92 Cystine Amino Acids g 0.126 93 Phenylalanine Amino Acids g 1.326 94 Tyrosine Amino Acids g 1.216 95 Valine Amino Acids g 1.682 96 Arginine Amino Acids g 0.952 97 Histidine Amino Acids g 0.884 98 Alanine Amino Acids g 0.711 99 Aspartic acid Amino Acids g 1.618 100 Glutamic acid Amino Acids g 6.160 101 Glycine Amino Acids g 0.439 102 Proline Amino Acids g 2.838 103 Serine Amino Acids g 1.472 104 Cholesterol Other mg 93.000 105 Fatty acids, total saturated Other g 18.584 106 Fatty acids, total monounsaturated Other g 8.275 107 Fatty acids, total polyunsaturated Other g 0.830 108 Protein Composition g 25.180 109 Total lipid (fat) Composition g 29.200 110 Carbohydrate, by difference Composition g 3.060 111 Ash Other g 3.280 112 Energy Energy kcal 376.000 113 Water Composition g 39.280
  19. 26/01/2013 08:36 Page 19 of 163 http://nbviewer.ipython.org/3904875/ In [123]: info.group.value_counts().plot(kind='bar')

    114 Energy Energy kJ 1573.000 115 Fiber, total dietary Composition g 0.000 116 Calcium, Ca Elements mg 673.000 117 Iron, Fe Elements mg 0.640 118 Magnesium, Mg Elements mg 22.000 119 Phosphorus, P Elements mg 490.000 120 Potassium, K Elements mg 93.000 121 Sodium, Na Elements mg 690.000 122 Zinc, Zn Elements mg 2.940 123 Copper, Cu Elements mg 0.024 124 Manganese, Mn Elements mg 0.021 125 Selenium, Se Elements mcg 14.500 126 Vitamin A, IU Vitamins IU 1054.000 127 Retinol Vitamins mcg 262.000 128 Vitamin A, RAE Vitamins mcg_RAE 271.000 129 Vitamin C, total ascorbic acid Vitamins mg 0.000 130 Thiamin Vitamins mg 0.031 131 Riboflavin Vitamins mg 0.450 132 Niacin Vitamins mg 0.180 133 Pantothenic acid Vitamins mg 0.190 134 Vitamin B-6 Vitamins mg 0.074 135 Folate, total Vitamins mcg 18.000 136 Vitamin B-12 Vitamins mcg 0.270 137 Folic acid Vitamins mcg 0.000 138 Folate, food Vitamins mcg 18.000 139 Folate, DFE Vitamins mcg_DFE 18.000 140 Tryptophan Amino Acids g 0.324 141 Threonine Amino Acids g 0.896 142 Isoleucine Amino Acids g 1.563 143 Leucine Amino Acids g 2.412 144 Lysine Amino Acids g 2.095 145 Methionine Amino Acids g 0.659 146 Cystine Amino Acids g 0.126 147 Phenylalanine Amino Acids g 1.326 148 Tyrosine Amino Acids g 1.216 149 Valine Amino Acids g 1.682 150 Arginine Amino Acids g 0.952 151 Histidine Amino Acids g 0.884 152 Alanine Amino Acids g 0.711 153 Aspartic acid Amino Acids g 1.618 154 Glutamic acid Amino Acids g 6.160 155 Glycine Amino Acids g 0.439 156 Proline Amino Acids g 2.838 157 Serine Amino Acids g 1.472 158 Cholesterol Other mg 93.000 159 Fatty acids, total saturated Other g 18.584 160 Fatty acids, total monounsaturated Other g 8.275 161 Fatty acids, total polyunsaturated Other g 0.830 Out[123]: <matplotlib.axes.AxesSubplot at 0x10bc66e50>
  20. 26/01/2013 08:36 Page 20 of 163 http://nbviewer.ipython.org/3904875/ In [126]: info.head()

    In [125]: nts.head() In [124]: info In [128]: # info.columns = ['id', 'fname', 'fgroup'] mapping = {'description': 'fname', 'group' : 'fgroup'} info = info.rename(columns=mapping) info.head() In [129]: mapping = {'description': 'nname', 'group' : 'ngroup'} nts = nts.rename(columns=mapping) Out[126]: id description group 0 1008 Cheese, caraway Dairy and Egg Products 1 1009 Cheese, cheddar Dairy and Egg Products 2 1018 Cheese, edam Dairy and Egg Products 3 1019 Cheese, feta Dairy and Egg Products 4 1028 Cheese, mozzarella, part skim milk Dairy and Egg Products Out[125]: description group units value 0 Protein Composition g 25.18 1 Total lipid (fat) Composition g 29.20 2 Carbohydrate, by difference Composition g 3.06 3 Ash Other g 3.28 4 Energy Energy kcal 376.00 Out[124]: <class 'pandas.core.frame.DataFrame'> Int64Index: 6636 entries, 0 to 6635 Data columns: id 6636 non-null values description 6636 non-null values group 6636 non-null values dtypes: int64(1), object(2) Out[128]: id fname fgroup 0 1008 Cheese, caraway Dairy and Egg Products 1 1009 Cheese, cheddar Dairy and Egg Products 2 1018 Cheese, edam Dairy and Egg Products 3 1019 Cheese, feta Dairy and Egg Products 4 1028 Cheese, mozzarella, part skim milk Dairy and Egg Products
  21. 26/01/2013 08:36 Page 21 of 163 http://nbviewer.ipython.org/3904875/ nts Out[129]: nname

    ngroup units value 0 Protein Composition g 25.180 1 Total lipid (fat) Composition g 29.200 2 Carbohydrate, by difference Composition g 3.060 3 Ash Other g 3.280 4 Energy Energy kcal 376.000 5 Water Composition g 39.280 6 Energy Energy kJ 1573.000 7 Fiber, total dietary Composition g 0.000 8 Calcium, Ca Elements mg 673.000 9 Iron, Fe Elements mg 0.640 10 Magnesium, Mg Elements mg 22.000 11 Phosphorus, P Elements mg 490.000 12 Potassium, K Elements mg 93.000 13 Sodium, Na Elements mg 690.000 14 Zinc, Zn Elements mg 2.940 15 Copper, Cu Elements mg 0.024 16 Manganese, Mn Elements mg 0.021 17 Selenium, Se Elements mcg 14.500 18 Vitamin A, IU Vitamins IU 1054.000 19 Retinol Vitamins mcg 262.000 20 Vitamin A, RAE Vitamins mcg_RAE 271.000 21 Vitamin C, total ascorbic acid Vitamins mg 0.000 22 Thiamin Vitamins mg 0.031 23 Riboflavin Vitamins mg 0.450 24 Niacin Vitamins mg 0.180 25 Pantothenic acid Vitamins mg 0.190 26 Vitamin B-6 Vitamins mg 0.074 27 Folate, total Vitamins mcg 18.000 28 Vitamin B-12 Vitamins mcg 0.270 29 Folic acid Vitamins mcg 0.000 30 Folate, food Vitamins mcg 18.000 31 Folate, DFE Vitamins mcg_DFE 18.000 32 Cholesterol Other mg 93.000 33 Fatty acids, total saturated Other g 18.584 34 Fatty acids, total monounsaturated Other g 8.275 35 Fatty acids, total polyunsaturated Other g 0.830 36 Tryptophan Amino Acids g 0.324 37 Threonine Amino Acids g 0.896 38 Isoleucine Amino Acids g 1.563 39 Leucine Amino Acids g 2.412 40 Lysine Amino Acids g 2.095 41 Methionine Amino Acids g 0.659 42 Cystine Amino Acids g 0.126 43 Phenylalanine Amino Acids g 1.326 44 Tyrosine Amino Acids g 1.216 45 Valine Amino Acids g 1.682 46 Arginine Amino Acids g 0.952 47 Histidine Amino Acids g 0.884 48 Alanine Amino Acids g 0.711 49 Aspartic acid Amino Acids g 1.618 50 Glutamic acid Amino Acids g 6.160 51 Glycine Amino Acids g 0.439 52 Proline Amino Acids g 2.838 53 Serine Amino Acids g 1.472 54 Protein Composition g 25.180 55 Total lipid (fat) Composition g 29.200 56 Carbohydrate, by difference Composition g 3.060 57 Ash Other g 3.280 58 Energy Energy kcal 376.000 59 Water Composition g 39.280
  22. 26/01/2013 08:36 Page 22 of 163 http://nbviewer.ipython.org/3904875/ 60 Energy Energy

    kJ 1573.000 61 Fiber, total dietary Composition g 0.000 62 Calcium, Ca Elements mg 673.000 63 Iron, Fe Elements mg 0.640 64 Magnesium, Mg Elements mg 22.000 65 Phosphorus, P Elements mg 490.000 66 Potassium, K Elements mg 93.000 67 Sodium, Na Elements mg 690.000 68 Zinc, Zn Elements mg 2.940 69 Copper, Cu Elements mg 0.024 70 Manganese, Mn Elements mg 0.021 71 Selenium, Se Elements mcg 14.500 72 Vitamin A, IU Vitamins IU 1054.000 73 Retinol Vitamins mcg 262.000 74 Vitamin A, RAE Vitamins mcg_RAE 271.000 75 Vitamin C, total ascorbic acid Vitamins mg 0.000 76 Thiamin Vitamins mg 0.031 77 Riboflavin Vitamins mg 0.450 78 Niacin Vitamins mg 0.180 79 Pantothenic acid Vitamins mg 0.190 80 Vitamin B-6 Vitamins mg 0.074 81 Folate, total Vitamins mcg 18.000 82 Vitamin B-12 Vitamins mcg 0.270 83 Folic acid Vitamins mcg 0.000 84 Folate, food Vitamins mcg 18.000 85 Folate, DFE Vitamins mcg_DFE 18.000 86 Tryptophan Amino Acids g 0.324 87 Threonine Amino Acids g 0.896 88 Isoleucine Amino Acids g 1.563 89 Leucine Amino Acids g 2.412 90 Lysine Amino Acids g 2.095 91 Methionine Amino Acids g 0.659 92 Cystine Amino Acids g 0.126 93 Phenylalanine Amino Acids g 1.326 94 Tyrosine Amino Acids g 1.216 95 Valine Amino Acids g 1.682 96 Arginine Amino Acids g 0.952 97 Histidine Amino Acids g 0.884 98 Alanine Amino Acids g 0.711 99 Aspartic acid Amino Acids g 1.618 100 Glutamic acid Amino Acids g 6.160 101 Glycine Amino Acids g 0.439 102 Proline Amino Acids g 2.838 103 Serine Amino Acids g 1.472 104 Cholesterol Other mg 93.000 105 Fatty acids, total saturated Other g 18.584 106 Fatty acids, total monounsaturated Other g 8.275 107 Fatty acids, total polyunsaturated Other g 0.830 108 Protein Composition g 25.180 109 Total lipid (fat) Composition g 29.200 110 Carbohydrate, by difference Composition g 3.060 111 Ash Other g 3.280 112 Energy Energy kcal 376.000 113 Water Composition g 39.280 114 Energy Energy kJ 1573.000 115 Fiber, total dietary Composition g 0.000 116 Calcium, Ca Elements mg 673.000 117 Iron, Fe Elements mg 0.640 118 Magnesium, Mg Elements mg 22.000 119 Phosphorus, P Elements mg 490.000 120 Potassium, K Elements mg 93.000 121 Sodium, Na Elements mg 690.000 122 Zinc, Zn Elements mg 2.940
  23. 26/01/2013 08:36 Page 23 of 163 http://nbviewer.ipython.org/3904875/ In [133]: db[0]

    123 Copper, Cu Elements mg 0.024 124 Manganese, Mn Elements mg 0.021 125 Selenium, Se Elements mcg 14.500 126 Vitamin A, IU Vitamins IU 1054.000 127 Retinol Vitamins mcg 262.000 128 Vitamin A, RAE Vitamins mcg_RAE 271.000 129 Vitamin C, total ascorbic acid Vitamins mg 0.000 130 Thiamin Vitamins mg 0.031 131 Riboflavin Vitamins mg 0.450 132 Niacin Vitamins mg 0.180 133 Pantothenic acid Vitamins mg 0.190 134 Vitamin B-6 Vitamins mg 0.074 135 Folate, total Vitamins mcg 18.000 136 Vitamin B-12 Vitamins mcg 0.270 137 Folic acid Vitamins mcg 0.000 138 Folate, food Vitamins mcg 18.000 139 Folate, DFE Vitamins mcg_DFE 18.000 140 Tryptophan Amino Acids g 0.324 141 Threonine Amino Acids g 0.896 142 Isoleucine Amino Acids g 1.563 143 Leucine Amino Acids g 2.412 144 Lysine Amino Acids g 2.095 145 Methionine Amino Acids g 0.659 146 Cystine Amino Acids g 0.126 147 Phenylalanine Amino Acids g 1.326 148 Tyrosine Amino Acids g 1.216 149 Valine Amino Acids g 1.682 150 Arginine Amino Acids g 0.952 151 Histidine Amino Acids g 0.884 152 Alanine Amino Acids g 0.711 153 Aspartic acid Amino Acids g 1.618 154 Glutamic acid Amino Acids g 6.160 155 Glycine Amino Acids g 0.439 156 Proline Amino Acids g 2.838 157 Serine Amino Acids g 1.472 158 Cholesterol Other mg 93.000 159 Fatty acids, total saturated Other g 18.584 160 Fatty acids, total monounsaturated Other g 8.275 161 Fatty acids, total polyunsaturated Other g 0.830 Out[133]: {'description': 'Cheese, caraway', 'group': 'Dairy and Egg Products', 'id': 1008, 'manufacturer': '', 'nutrients': [{'description': 'Protein', 'group': 'Composition', 'units': 'g', 'value': 25.18}, {'description': 'Total lipid (fat)', 'group': 'Composition', 'units': 'g', 'value': 29.2}, {'description': 'Carbohydrate, by difference', 'group': 'Composition', 'units': 'g', 'value': 3.06}, {'description': 'Ash', 'group': 'Other', 'units': 'g', 'value': 3.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kcal',
  24. 26/01/2013 08:36 Page 24 of 163 http://nbviewer.ipython.org/3904875/ 'value': 376.0}, {'description':

    'Water', 'group': 'Composition', 'units': 'g', 'value': 39.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kJ', 'value': 1573.0}, {'description': 'Fiber, total dietary', 'group': 'Composition', 'units': 'g', 'value': 0.0}, {'description': 'Calcium, Ca', 'group': 'Elements', 'units': 'mg', 'value': 673.0}, {'description': 'Iron, Fe', 'group': 'Elements', 'units': 'mg', 'value': 0.64}, {'description': 'Magnesium, Mg', 'group': 'Elements', 'units': 'mg', 'value': 22.0}, {'description': 'Phosphorus, P', 'group': 'Elements', 'units': 'mg', 'value': 490.0}, {'description': 'Potassium, K', 'group': 'Elements', 'units': 'mg', 'value': 93.0}, {'description': 'Sodium, Na', 'group': 'Elements', 'units': 'mg', 'value': 690.0}, {'description': 'Zinc, Zn', 'group': 'Elements', 'units': 'mg', 'value': 2.94}, {'description': 'Copper, Cu', 'group': 'Elements', 'units': 'mg', 'value': 0.024}, {'description': 'Manganese, Mn', 'group': 'Elements', 'units': 'mg', 'value': 0.021}, {'description': 'Selenium, Se', 'group': 'Elements', 'units': 'mcg', 'value': 14.5}, {'description': 'Vitamin A, IU', 'group': 'Vitamins', 'units': 'IU', 'value': 1054.0}, {'description': 'Retinol', 'group': 'Vitamins', 'units': 'mcg', 'value': 262.0}, {'description': 'Vitamin A, RAE', 'group': 'Vitamins', 'units': 'mcg_RAE', 'value': 271.0}, {'description': 'Vitamin C, total ascorbic acid',
  25. 26/01/2013 08:36 Page 25 of 163 http://nbviewer.ipython.org/3904875/ 'group': 'Vitamins', 'units':

    'mg', 'value': 0.0}, {'description': 'Thiamin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.031}, {'description': 'Riboflavin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.45}, {'description': 'Niacin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.18}, {'description': 'Pantothenic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.19}, {'description': 'Vitamin B-6', 'group': 'Vitamins', 'units': 'mg', 'value': 0.074}, {'description': 'Folate, total', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Vitamin B-12', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.27}, {'description': 'Folic acid', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.0}, {'description': 'Folate, food', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Folate, DFE', 'group': 'Vitamins', 'units': 'mcg_DFE', 'value': 18.0}, {'description': 'Cholesterol', 'group': 'Other', 'units': 'mg', 'value': 93.0}, {'description': 'Fatty acids, total saturated', 'group': 'Other', 'units': 'g', 'value': 18.584}, {'description': 'Fatty acids, total monounsaturated', 'group': 'Other', 'units': 'g', 'value': 8.275}, {'description': 'Fatty acids, total polyunsaturated', 'group': 'Other', 'units': 'g', 'value': 0.83}, {'description': 'Tryptophan', 'group': 'Amino Acids', 'units': 'g', 'value': 0.324}, {'description': 'Threonine', 'group': 'Amino Acids', 'units': 'g',
  26. 26/01/2013 08:36 Page 26 of 163 http://nbviewer.ipython.org/3904875/ 'value': 0.896}, {'description':

    'Isoleucine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.563}, {'description': 'Leucine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.412}, {'description': 'Lysine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.095}, {'description': 'Methionine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.659}, {'description': 'Cystine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.126}, {'description': 'Phenylalanine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.326}, {'description': 'Tyrosine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.216}, {'description': 'Valine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.682}, {'description': 'Arginine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.952}, {'description': 'Histidine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.884}, {'description': 'Alanine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.711}, {'description': 'Aspartic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 1.618}, {'description': 'Glutamic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 6.16}, {'description': 'Glycine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.439}, {'description': 'Proline', 'group': 'Amino Acids', 'units': 'g', 'value': 2.838}, {'description': 'Serine', 'group': 'Amino Acids',
  27. 26/01/2013 08:36 Page 27 of 163 http://nbviewer.ipython.org/3904875/ 'units': 'g', 'value':

    1.472}, {'description': 'Protein', 'group': 'Composition', 'units': 'g', 'value': 25.18}, {'description': 'Total lipid (fat)', 'group': 'Composition', 'units': 'g', 'value': 29.2}, {'description': 'Carbohydrate, by difference', 'group': 'Composition', 'units': 'g', 'value': 3.06}, {'description': 'Ash', 'group': 'Other', 'units': 'g', 'value': 3.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kcal', 'value': 376.0}, {'description': 'Water', 'group': 'Composition', 'units': 'g', 'value': 39.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kJ', 'value': 1573.0}, {'description': 'Fiber, total dietary', 'group': 'Composition', 'units': 'g', 'value': 0.0}, {'description': 'Calcium, Ca', 'group': 'Elements', 'units': 'mg', 'value': 673.0}, {'description': 'Iron, Fe', 'group': 'Elements', 'units': 'mg', 'value': 0.64}, {'description': 'Magnesium, Mg', 'group': 'Elements', 'units': 'mg', 'value': 22.0}, {'description': 'Phosphorus, P', 'group': 'Elements', 'units': 'mg', 'value': 490.0}, {'description': 'Potassium, K', 'group': 'Elements', 'units': 'mg', 'value': 93.0}, {'description': 'Sodium, Na', 'group': 'Elements', 'units': 'mg', 'value': 690.0}, {'description': 'Zinc, Zn', 'group': 'Elements', 'units': 'mg', 'value': 2.94}, {'description': 'Copper, Cu', 'group': 'Elements', 'units': 'mg', 'value': 0.024}, {'description': 'Manganese, Mn', 'group': 'Elements', 'units': 'mg',
  28. 26/01/2013 08:36 Page 28 of 163 http://nbviewer.ipython.org/3904875/ 'value': 0.021}, {'description':

    'Selenium, Se', 'group': 'Elements', 'units': 'mcg', 'value': 14.5}, {'description': 'Vitamin A, IU', 'group': 'Vitamins', 'units': 'IU', 'value': 1054.0}, {'description': 'Retinol', 'group': 'Vitamins', 'units': 'mcg', 'value': 262.0}, {'description': 'Vitamin A, RAE', 'group': 'Vitamins', 'units': 'mcg_RAE', 'value': 271.0}, {'description': 'Vitamin C, total ascorbic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.0}, {'description': 'Thiamin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.031}, {'description': 'Riboflavin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.45}, {'description': 'Niacin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.18}, {'description': 'Pantothenic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.19}, {'description': 'Vitamin B-6', 'group': 'Vitamins', 'units': 'mg', 'value': 0.074}, {'description': 'Folate, total', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Vitamin B-12', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.27}, {'description': 'Folic acid', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.0}, {'description': 'Folate, food', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Folate, DFE', 'group': 'Vitamins', 'units': 'mcg_DFE', 'value': 18.0}, {'description': 'Tryptophan', 'group': 'Amino Acids', 'units': 'g', 'value': 0.324}, {'description': 'Threonine',
  29. 26/01/2013 08:36 Page 29 of 163 http://nbviewer.ipython.org/3904875/ 'group': 'Amino Acids',

    'units': 'g', 'value': 0.896}, {'description': 'Isoleucine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.563}, {'description': 'Leucine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.412}, {'description': 'Lysine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.095}, {'description': 'Methionine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.659}, {'description': 'Cystine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.126}, {'description': 'Phenylalanine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.326}, {'description': 'Tyrosine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.216}, {'description': 'Valine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.682}, {'description': 'Arginine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.952}, {'description': 'Histidine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.884}, {'description': 'Alanine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.711}, {'description': 'Aspartic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 1.618}, {'description': 'Glutamic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 6.16}, {'description': 'Glycine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.439}, {'description': 'Proline', 'group': 'Amino Acids', 'units': 'g', 'value': 2.838},
  30. 26/01/2013 08:36 Page 30 of 163 http://nbviewer.ipython.org/3904875/ {'description': 'Serine', 'group':

    'Amino Acids', 'units': 'g', 'value': 1.472}, {'description': 'Cholesterol', 'group': 'Other', 'units': 'mg', 'value': 93.0}, {'description': 'Fatty acids, total saturated', 'group': 'Other', 'units': 'g', 'value': 18.584}, {'description': 'Fatty acids, total monounsaturated', 'group': 'Other', 'units': 'g', 'value': 8.275}, {'description': 'Fatty acids, total polyunsaturated', 'group': 'Other', 'units': 'g', 'value': 0.83}, {'description': 'Protein', 'group': 'Composition', 'units': 'g', 'value': 25.18}, {'description': 'Total lipid (fat)', 'group': 'Composition', 'units': 'g', 'value': 29.2}, {'description': 'Carbohydrate, by difference', 'group': 'Composition', 'units': 'g', 'value': 3.06}, {'description': 'Ash', 'group': 'Other', 'units': 'g', 'value': 3.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kcal', 'value': 376.0}, {'description': 'Water', 'group': 'Composition', 'units': 'g', 'value': 39.28}, {'description': 'Energy', 'group': 'Energy', 'units': 'kJ', 'value': 1573.0}, {'description': 'Fiber, total dietary', 'group': 'Composition', 'units': 'g', 'value': 0.0}, {'description': 'Calcium, Ca', 'group': 'Elements', 'units': 'mg', 'value': 673.0}, {'description': 'Iron, Fe', 'group': 'Elements', 'units': 'mg', 'value': 0.64}, {'description': 'Magnesium, Mg', 'group': 'Elements', 'units': 'mg', 'value': 22.0}, {'description': 'Phosphorus, P', 'group': 'Elements', 'units': 'mg', 'value': 490.0}, {'description': 'Potassium, K',
  31. 26/01/2013 08:36 Page 31 of 163 http://nbviewer.ipython.org/3904875/ 'group': 'Elements', 'units':

    'mg', 'value': 93.0}, {'description': 'Sodium, Na', 'group': 'Elements', 'units': 'mg', 'value': 690.0}, {'description': 'Zinc, Zn', 'group': 'Elements', 'units': 'mg', 'value': 2.94}, {'description': 'Copper, Cu', 'group': 'Elements', 'units': 'mg', 'value': 0.024}, {'description': 'Manganese, Mn', 'group': 'Elements', 'units': 'mg', 'value': 0.021}, {'description': 'Selenium, Se', 'group': 'Elements', 'units': 'mcg', 'value': 14.5}, {'description': 'Vitamin A, IU', 'group': 'Vitamins', 'units': 'IU', 'value': 1054.0}, {'description': 'Retinol', 'group': 'Vitamins', 'units': 'mcg', 'value': 262.0}, {'description': 'Vitamin A, RAE', 'group': 'Vitamins', 'units': 'mcg_RAE', 'value': 271.0}, {'description': 'Vitamin C, total ascorbic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.0}, {'description': 'Thiamin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.031}, {'description': 'Riboflavin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.45}, {'description': 'Niacin', 'group': 'Vitamins', 'units': 'mg', 'value': 0.18}, {'description': 'Pantothenic acid', 'group': 'Vitamins', 'units': 'mg', 'value': 0.19}, {'description': 'Vitamin B-6', 'group': 'Vitamins', 'units': 'mg', 'value': 0.074}, {'description': 'Folate, total', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Vitamin B-12', 'group': 'Vitamins', 'units': 'mcg',
  32. 26/01/2013 08:36 Page 32 of 163 http://nbviewer.ipython.org/3904875/ 'value': 0.27}, {'description':

    'Folic acid', 'group': 'Vitamins', 'units': 'mcg', 'value': 0.0}, {'description': 'Folate, food', 'group': 'Vitamins', 'units': 'mcg', 'value': 18.0}, {'description': 'Folate, DFE', 'group': 'Vitamins', 'units': 'mcg_DFE', 'value': 18.0}, {'description': 'Tryptophan', 'group': 'Amino Acids', 'units': 'g', 'value': 0.324}, {'description': 'Threonine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.896}, {'description': 'Isoleucine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.563}, {'description': 'Leucine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.412}, {'description': 'Lysine', 'group': 'Amino Acids', 'units': 'g', 'value': 2.095}, {'description': 'Methionine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.659}, {'description': 'Cystine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.126}, {'description': 'Phenylalanine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.326}, {'description': 'Tyrosine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.216}, {'description': 'Valine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.682}, {'description': 'Arginine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.952}, {'description': 'Histidine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.884}, {'description': 'Alanine', 'group': 'Amino Acids',
  33. 26/01/2013 08:36 Page 33 of 163 http://nbviewer.ipython.org/3904875/ In [135]: nts['id']

    = 1008 nts 'units': 'g', 'value': 0.711}, {'description': 'Aspartic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 1.618}, {'description': 'Glutamic acid', 'group': 'Amino Acids', 'units': 'g', 'value': 6.16}, {'description': 'Glycine', 'group': 'Amino Acids', 'units': 'g', 'value': 0.439}, {'description': 'Proline', 'group': 'Amino Acids', 'units': 'g', 'value': 2.838}, {'description': 'Serine', 'group': 'Amino Acids', 'units': 'g', 'value': 1.472}, {'description': 'Cholesterol', 'group': 'Other', 'units': 'mg', 'value': 93.0}, {'description': 'Fatty acids, total saturated', 'group': 'Other', 'units': 'g', 'value': 18.584}, {'description': 'Fatty acids, total monounsaturated', 'group': 'Other', 'units': 'g', 'value': 8.275}, {'description': 'Fatty acids, total polyunsaturated', 'group': 'Other', 'units': 'g', 'value': 0.83}], 'portions': [{'amount': 1, 'grams': 28.35, 'unit': 'oz'}], 'tags': []} Out[135]: nname ngroup units value id 0 Protein Composition g 25.180 1008 1 Total lipid (fat) Composition g 29.200 1008 2 Carbohydrate, by difference Composition g 3.060 1008 3 Ash Other g 3.280 1008 4 Energy Energy kcal 376.000 1008 5 Water Composition g 39.280 1008 6 Energy Energy kJ 1573.000 1008 7 Fiber, total dietary Composition g 0.000 1008 8 Calcium, Ca Elements mg 673.000 1008 9 Iron, Fe Elements mg 0.640 1008 10 Magnesium, Mg Elements mg 22.000 1008 11 Phosphorus, P Elements mg 490.000 1008 12 Potassium, K Elements mg 93.000 1008 13 Sodium, Na Elements mg 690.000 1008 14 Zinc, Zn Elements mg 2.940 1008 15 Copper, Cu Elements mg 0.024 1008 16 Manganese, Mn Elements mg 0.021 1008
  34. 26/01/2013 08:36 Page 34 of 163 http://nbviewer.ipython.org/3904875/ 17 Selenium, Se

    Elements mcg 14.500 1008 18 Vitamin A, IU Vitamins IU 1054.000 1008 19 Retinol Vitamins mcg 262.000 1008 20 Vitamin A, RAE Vitamins mcg_RAE 271.000 1008 21 Vitamin C, total ascorbic acid Vitamins mg 0.000 1008 22 Thiamin Vitamins mg 0.031 1008 23 Riboflavin Vitamins mg 0.450 1008 24 Niacin Vitamins mg 0.180 1008 25 Pantothenic acid Vitamins mg 0.190 1008 26 Vitamin B-6 Vitamins mg 0.074 1008 27 Folate, total Vitamins mcg 18.000 1008 28 Vitamin B-12 Vitamins mcg 0.270 1008 29 Folic acid Vitamins mcg 0.000 1008 30 Folate, food Vitamins mcg 18.000 1008 31 Folate, DFE Vitamins mcg_DFE 18.000 1008 32 Cholesterol Other mg 93.000 1008 33 Fatty acids, total saturated Other g 18.584 1008 34 Fatty acids, total monounsaturated Other g 8.275 1008 35 Fatty acids, total polyunsaturated Other g 0.830 1008 36 Tryptophan Amino Acids g 0.324 1008 37 Threonine Amino Acids g 0.896 1008 38 Isoleucine Amino Acids g 1.563 1008 39 Leucine Amino Acids g 2.412 1008 40 Lysine Amino Acids g 2.095 1008 41 Methionine Amino Acids g 0.659 1008 42 Cystine Amino Acids g 0.126 1008 43 Phenylalanine Amino Acids g 1.326 1008 44 Tyrosine Amino Acids g 1.216 1008 45 Valine Amino Acids g 1.682 1008 46 Arginine Amino Acids g 0.952 1008 47 Histidine Amino Acids g 0.884 1008 48 Alanine Amino Acids g 0.711 1008 49 Aspartic acid Amino Acids g 1.618 1008 50 Glutamic acid Amino Acids g 6.160 1008 51 Glycine Amino Acids g 0.439 1008 52 Proline Amino Acids g 2.838 1008 53 Serine Amino Acids g 1.472 1008 54 Protein Composition g 25.180 1008 55 Total lipid (fat) Composition g 29.200 1008 56 Carbohydrate, by difference Composition g 3.060 1008 57 Ash Other g 3.280 1008 58 Energy Energy kcal 376.000 1008 59 Water Composition g 39.280 1008 60 Energy Energy kJ 1573.000 1008 61 Fiber, total dietary Composition g 0.000 1008 62 Calcium, Ca Elements mg 673.000 1008 63 Iron, Fe Elements mg 0.640 1008 64 Magnesium, Mg Elements mg 22.000 1008 65 Phosphorus, P Elements mg 490.000 1008 66 Potassium, K Elements mg 93.000 1008 67 Sodium, Na Elements mg 690.000 1008 68 Zinc, Zn Elements mg 2.940 1008 69 Copper, Cu Elements mg 0.024 1008 70 Manganese, Mn Elements mg 0.021 1008 71 Selenium, Se Elements mcg 14.500 1008 72 Vitamin A, IU Vitamins IU 1054.000 1008 73 Retinol Vitamins mcg 262.000 1008 74 Vitamin A, RAE Vitamins mcg_RAE 271.000 1008 75 Vitamin C, total ascorbic acid Vitamins mg 0.000 1008 76 Thiamin Vitamins mg 0.031 1008 77 Riboflavin Vitamins mg 0.450 1008 78 Niacin Vitamins mg 0.180 1008 79 Pantothenic acid Vitamins mg 0.190 1008
  35. 26/01/2013 08:36 Page 35 of 163 http://nbviewer.ipython.org/3904875/ 80 Vitamin B-6

    Vitamins mg 0.074 1008 81 Folate, total Vitamins mcg 18.000 1008 82 Vitamin B-12 Vitamins mcg 0.270 1008 83 Folic acid Vitamins mcg 0.000 1008 84 Folate, food Vitamins mcg 18.000 1008 85 Folate, DFE Vitamins mcg_DFE 18.000 1008 86 Tryptophan Amino Acids g 0.324 1008 87 Threonine Amino Acids g 0.896 1008 88 Isoleucine Amino Acids g 1.563 1008 89 Leucine Amino Acids g 2.412 1008 90 Lysine Amino Acids g 2.095 1008 91 Methionine Amino Acids g 0.659 1008 92 Cystine Amino Acids g 0.126 1008 93 Phenylalanine Amino Acids g 1.326 1008 94 Tyrosine Amino Acids g 1.216 1008 95 Valine Amino Acids g 1.682 1008 96 Arginine Amino Acids g 0.952 1008 97 Histidine Amino Acids g 0.884 1008 98 Alanine Amino Acids g 0.711 1008 99 Aspartic acid Amino Acids g 1.618 1008 100 Glutamic acid Amino Acids g 6.160 1008 101 Glycine Amino Acids g 0.439 1008 102 Proline Amino Acids g 2.838 1008 103 Serine Amino Acids g 1.472 1008 104 Cholesterol Other mg 93.000 1008 105 Fatty acids, total saturated Other g 18.584 1008 106 Fatty acids, total monounsaturated Other g 8.275 1008 107 Fatty acids, total polyunsaturated Other g 0.830 1008 108 Protein Composition g 25.180 1008 109 Total lipid (fat) Composition g 29.200 1008 110 Carbohydrate, by difference Composition g 3.060 1008 111 Ash Other g 3.280 1008 112 Energy Energy kcal 376.000 1008 113 Water Composition g 39.280 1008 114 Energy Energy kJ 1573.000 1008 115 Fiber, total dietary Composition g 0.000 1008 116 Calcium, Ca Elements mg 673.000 1008 117 Iron, Fe Elements mg 0.640 1008 118 Magnesium, Mg Elements mg 22.000 1008 119 Phosphorus, P Elements mg 490.000 1008 120 Potassium, K Elements mg 93.000 1008 121 Sodium, Na Elements mg 690.000 1008 122 Zinc, Zn Elements mg 2.940 1008 123 Copper, Cu Elements mg 0.024 1008 124 Manganese, Mn Elements mg 0.021 1008 125 Selenium, Se Elements mcg 14.500 1008 126 Vitamin A, IU Vitamins IU 1054.000 1008 127 Retinol Vitamins mcg 262.000 1008 128 Vitamin A, RAE Vitamins mcg_RAE 271.000 1008 129 Vitamin C, total ascorbic acid Vitamins mg 0.000 1008 130 Thiamin Vitamins mg 0.031 1008 131 Riboflavin Vitamins mg 0.450 1008 132 Niacin Vitamins mg 0.180 1008 133 Pantothenic acid Vitamins mg 0.190 1008 134 Vitamin B-6 Vitamins mg 0.074 1008 135 Folate, total Vitamins mcg 18.000 1008 136 Vitamin B-12 Vitamins mcg 0.270 1008 137 Folic acid Vitamins mcg 0.000 1008 138 Folate, food Vitamins mcg 18.000 1008 139 Folate, DFE Vitamins mcg_DFE 18.000 1008 140 Tryptophan Amino Acids g 0.324 1008 141 Threonine Amino Acids g 0.896 1008 142 Isoleucine Amino Acids g 1.563 1008
  36. 26/01/2013 08:36 Page 36 of 163 http://nbviewer.ipython.org/3904875/ In [136]: nts

    143 Leucine Amino Acids g 2.412 1008 144 Lysine Amino Acids g 2.095 1008 145 Methionine Amino Acids g 0.659 1008 146 Cystine Amino Acids g 0.126 1008 147 Phenylalanine Amino Acids g 1.326 1008 148 Tyrosine Amino Acids g 1.216 1008 149 Valine Amino Acids g 1.682 1008 150 Arginine Amino Acids g 0.952 1008 151 Histidine Amino Acids g 0.884 1008 152 Alanine Amino Acids g 0.711 1008 153 Aspartic acid Amino Acids g 1.618 1008 154 Glutamic acid Amino Acids g 6.160 1008 155 Glycine Amino Acids g 0.439 1008 156 Proline Amino Acids g 2.838 1008 157 Serine Amino Acids g 1.472 1008 158 Cholesterol Other mg 93.000 1008 159 Fatty acids, total saturated Other g 18.584 1008 160 Fatty acids, total monounsaturated Other g 8.275 1008 161 Fatty acids, total polyunsaturated Other g 0.830 1008 Out[136]: nname ngroup units value id 0 Protein Composition g 25.180 1008 1 Total lipid (fat) Composition g 29.200 1008 2 Carbohydrate, by difference Composition g 3.060 1008 3 Ash Other g 3.280 1008 4 Energy Energy kcal 376.000 1008 5 Water Composition g 39.280 1008 6 Energy Energy kJ 1573.000 1008 7 Fiber, total dietary Composition g 0.000 1008 8 Calcium, Ca Elements mg 673.000 1008 9 Iron, Fe Elements mg 0.640 1008 10 Magnesium, Mg Elements mg 22.000 1008 11 Phosphorus, P Elements mg 490.000 1008 12 Potassium, K Elements mg 93.000 1008 13 Sodium, Na Elements mg 690.000 1008 14 Zinc, Zn Elements mg 2.940 1008 15 Copper, Cu Elements mg 0.024 1008 16 Manganese, Mn Elements mg 0.021 1008 17 Selenium, Se Elements mcg 14.500 1008 18 Vitamin A, IU Vitamins IU 1054.000 1008 19 Retinol Vitamins mcg 262.000 1008 20 Vitamin A, RAE Vitamins mcg_RAE 271.000 1008 21 Vitamin C, total ascorbic acid Vitamins mg 0.000 1008 22 Thiamin Vitamins mg 0.031 1008 23 Riboflavin Vitamins mg 0.450 1008 24 Niacin Vitamins mg 0.180 1008 25 Pantothenic acid Vitamins mg 0.190 1008 26 Vitamin B-6 Vitamins mg 0.074 1008 27 Folate, total Vitamins mcg 18.000 1008 28 Vitamin B-12 Vitamins mcg 0.270 1008 29 Folic acid Vitamins mcg 0.000 1008 30 Folate, food Vitamins mcg 18.000 1008 31 Folate, DFE Vitamins mcg_DFE 18.000 1008 32 Cholesterol Other mg 93.000 1008 33 Fatty acids, total saturated Other g 18.584 1008 34 Fatty acids, total monounsaturated Other g 8.275 1008 35 Fatty acids, total polyunsaturated Other g 0.830 1008 36 Tryptophan Amino Acids g 0.324 1008 37 Threonine Amino Acids g 0.896 1008 38 Isoleucine Amino Acids g 1.563 1008
  37. 26/01/2013 08:36 Page 37 of 163 http://nbviewer.ipython.org/3904875/ 39 Leucine Amino

    Acids g 2.412 1008 40 Lysine Amino Acids g 2.095 1008 41 Methionine Amino Acids g 0.659 1008 42 Cystine Amino Acids g 0.126 1008 43 Phenylalanine Amino Acids g 1.326 1008 44 Tyrosine Amino Acids g 1.216 1008 45 Valine Amino Acids g 1.682 1008 46 Arginine Amino Acids g 0.952 1008 47 Histidine Amino Acids g 0.884 1008 48 Alanine Amino Acids g 0.711 1008 49 Aspartic acid Amino Acids g 1.618 1008 50 Glutamic acid Amino Acids g 6.160 1008 51 Glycine Amino Acids g 0.439 1008 52 Proline Amino Acids g 2.838 1008 53 Serine Amino Acids g 1.472 1008 54 Protein Composition g 25.180 1008 55 Total lipid (fat) Composition g 29.200 1008 56 Carbohydrate, by difference Composition g 3.060 1008 57 Ash Other g 3.280 1008 58 Energy Energy kcal 376.000 1008 59 Water Composition g 39.280 1008 60 Energy Energy kJ 1573.000 1008 61 Fiber, total dietary Composition g 0.000 1008 62 Calcium, Ca Elements mg 673.000 1008 63 Iron, Fe Elements mg 0.640 1008 64 Magnesium, Mg Elements mg 22.000 1008 65 Phosphorus, P Elements mg 490.000 1008 66 Potassium, K Elements mg 93.000 1008 67 Sodium, Na Elements mg 690.000 1008 68 Zinc, Zn Elements mg 2.940 1008 69 Copper, Cu Elements mg 0.024 1008 70 Manganese, Mn Elements mg 0.021 1008 71 Selenium, Se Elements mcg 14.500 1008 72 Vitamin A, IU Vitamins IU 1054.000 1008 73 Retinol Vitamins mcg 262.000 1008 74 Vitamin A, RAE Vitamins mcg_RAE 271.000 1008 75 Vitamin C, total ascorbic acid Vitamins mg 0.000 1008 76 Thiamin Vitamins mg 0.031 1008 77 Riboflavin Vitamins mg 0.450 1008 78 Niacin Vitamins mg 0.180 1008 79 Pantothenic acid Vitamins mg 0.190 1008 80 Vitamin B-6 Vitamins mg 0.074 1008 81 Folate, total Vitamins mcg 18.000 1008 82 Vitamin B-12 Vitamins mcg 0.270 1008 83 Folic acid Vitamins mcg 0.000 1008 84 Folate, food Vitamins mcg 18.000 1008 85 Folate, DFE Vitamins mcg_DFE 18.000 1008 86 Tryptophan Amino Acids g 0.324 1008 87 Threonine Amino Acids g 0.896 1008 88 Isoleucine Amino Acids g 1.563 1008 89 Leucine Amino Acids g 2.412 1008 90 Lysine Amino Acids g 2.095 1008 91 Methionine Amino Acids g 0.659 1008 92 Cystine Amino Acids g 0.126 1008 93 Phenylalanine Amino Acids g 1.326 1008 94 Tyrosine Amino Acids g 1.216 1008 95 Valine Amino Acids g 1.682 1008 96 Arginine Amino Acids g 0.952 1008 97 Histidine Amino Acids g 0.884 1008 98 Alanine Amino Acids g 0.711 1008 99 Aspartic acid Amino Acids g 1.618 1008 100 Glutamic acid Amino Acids g 6.160 1008 101 Glycine Amino Acids g 0.439 1008
  38. 26/01/2013 08:36 Page 38 of 163 http://nbviewer.ipython.org/3904875/ In [138]: mapping

    = {'description': 'nname', 'group' : 'ngroup'} 102 Proline Amino Acids g 2.838 1008 103 Serine Amino Acids g 1.472 1008 104 Cholesterol Other mg 93.000 1008 105 Fatty acids, total saturated Other g 18.584 1008 106 Fatty acids, total monounsaturated Other g 8.275 1008 107 Fatty acids, total polyunsaturated Other g 0.830 1008 108 Protein Composition g 25.180 1008 109 Total lipid (fat) Composition g 29.200 1008 110 Carbohydrate, by difference Composition g 3.060 1008 111 Ash Other g 3.280 1008 112 Energy Energy kcal 376.000 1008 113 Water Composition g 39.280 1008 114 Energy Energy kJ 1573.000 1008 115 Fiber, total dietary Composition g 0.000 1008 116 Calcium, Ca Elements mg 673.000 1008 117 Iron, Fe Elements mg 0.640 1008 118 Magnesium, Mg Elements mg 22.000 1008 119 Phosphorus, P Elements mg 490.000 1008 120 Potassium, K Elements mg 93.000 1008 121 Sodium, Na Elements mg 690.000 1008 122 Zinc, Zn Elements mg 2.940 1008 123 Copper, Cu Elements mg 0.024 1008 124 Manganese, Mn Elements mg 0.021 1008 125 Selenium, Se Elements mcg 14.500 1008 126 Vitamin A, IU Vitamins IU 1054.000 1008 127 Retinol Vitamins mcg 262.000 1008 128 Vitamin A, RAE Vitamins mcg_RAE 271.000 1008 129 Vitamin C, total ascorbic acid Vitamins mg 0.000 1008 130 Thiamin Vitamins mg 0.031 1008 131 Riboflavin Vitamins mg 0.450 1008 132 Niacin Vitamins mg 0.180 1008 133 Pantothenic acid Vitamins mg 0.190 1008 134 Vitamin B-6 Vitamins mg 0.074 1008 135 Folate, total Vitamins mcg 18.000 1008 136 Vitamin B-12 Vitamins mcg 0.270 1008 137 Folic acid Vitamins mcg 0.000 1008 138 Folate, food Vitamins mcg 18.000 1008 139 Folate, DFE Vitamins mcg_DFE 18.000 1008 140 Tryptophan Amino Acids g 0.324 1008 141 Threonine Amino Acids g 0.896 1008 142 Isoleucine Amino Acids g 1.563 1008 143 Leucine Amino Acids g 2.412 1008 144 Lysine Amino Acids g 2.095 1008 145 Methionine Amino Acids g 0.659 1008 146 Cystine Amino Acids g 0.126 1008 147 Phenylalanine Amino Acids g 1.326 1008 148 Tyrosine Amino Acids g 1.216 1008 149 Valine Amino Acids g 1.682 1008 150 Arginine Amino Acids g 0.952 1008 151 Histidine Amino Acids g 0.884 1008 152 Alanine Amino Acids g 0.711 1008 153 Aspartic acid Amino Acids g 1.618 1008 154 Glutamic acid Amino Acids g 6.160 1008 155 Glycine Amino Acids g 0.439 1008 156 Proline Amino Acids g 2.838 1008 157 Serine Amino Acids g 1.472 1008 158 Cholesterol Other mg 93.000 1008 159 Fatty acids, total saturated Other g 18.584 1008 160 Fatty acids, total monounsaturated Other g 8.275 1008 161 Fatty acids, total polyunsaturated Other g 0.830 1008
  39. 26/01/2013 08:36 Page 39 of 163 http://nbviewer.ipython.org/3904875/ all_nutrients = []

    for element in db: nts = pd.DataFrame(element['nutrients']) nts = nts.rename(columns=mapping) nts['id'] = element['id'] all_nutrients.append(nts) all_nutrients = pd.concat(all_nutrients, ignore_index=True) In [144]: info In [143]: all_nutrients In [147]: data = pd.merge(info, all_nutrients, on='id') In [148]: data In [163]: by_nname = data.groupby('nname') agged = by_nname['units'].agg(lambda x: str(x.unique())) agged Out[144]: <class 'pandas.core.frame.DataFrame'> Int64Index: 6636 entries, 0 to 6635 Data columns: id 6636 non-null values fname 6636 non-null values fgroup 6636 non-null values dtypes: int64(1), object(2) Out[143]: <class 'pandas.core.frame.DataFrame'> Int64Index: 389355 entries, 0 to 389354 Data columns: nname 389355 non-null values ngroup 389355 non-null values units 389355 non-null values value 389355 non-null values id 389355 non-null values dtypes: float64(1), int64(1), object(3) Out[148]: <class 'pandas.core.frame.DataFrame'> Int64Index: 389355 entries, 0 to 389354 Data columns: id 389355 non-null values fname 389355 non-null values fgroup 389355 non-null values nname 389355 non-null values ngroup 389355 non-null values units 389355 non-null values value 389355 non-null values dtypes: float64(1), int64(1), object(5) Out[163]: nname Adjusted Protein [g] Alanine [g] Alcohol, ethyl [g] Arginine [g] Ash [g] Aspartic acid [g] Beta-sitosterol [mg] Betaine [mg] Caffeine [mg]
  40. 26/01/2013 08:36 Page 40 of 163 http://nbviewer.ipython.org/3904875/ Calcium, Ca [mg]

    Campesterol [mg] Carbohydrate, by difference [g] Carotene, alpha [mcg] Carotene, beta [mcg] Cholesterol [mg] Choline, total [mg] Copper, Cu [mg] Cryptoxanthin, beta [mcg] Cystine [g] Dihydrophylloquinone [mcg] Energy [kcal kJ] Fatty acids, total monounsaturated [g] Fatty acids, total polyunsaturated [g] Fatty acids, total saturated [g] Fatty acids, total trans [g] Fatty acids, total trans-monoenoic [g] Fatty acids, total trans-polyenoic [g] Fiber, total dietary [g] Fluoride, F [mcg] Folate, DFE [mcg_DFE] Folate, food [mcg] Folate, total [mcg] Folic acid [mcg] Fructose [g] Galactose [g] Glucose (dextrose) [g] Glutamic acid [g] Glycine [g] Histidine [g] Hydroxyproline [g] Iron, Fe [mg] Isoleucine [g] Lactose [g] Leucine [g] Lutein + zeaxanthin [mcg] Lycopene [mcg] Lysine [g] Magnesium, Mg [mg] Maltose [g] Manganese, Mn [mg] Menaquinone-4 [mcg] Methionine [g] Niacin [mg] Pantothenic acid [mg] Phenylalanine [g] Phosphorus, P [mg] Phytosterols [mg] Potassium, K [mg] Proline [g] Protein [g] Retinol [mcg] Riboflavin [mg] Selenium, Se [mcg] Serine [g] Sodium, Na [mg] Starch [g] Stigmasterol [mg] Sucrose [g] Sugars, total [g] Theobromine [mg] Thiamin [mg] Threonine [g]
  41. 26/01/2013 08:36 Page 41 of 163 http://nbviewer.ipython.org/3904875/ In [164]: data

    In [174]: data.value.quantile(0.9) In [184]: by_nname.units.agg(lambda x: x.unique()[0]) Tocopherol, beta [mg] Tocopherol, delta [mg] Tocopherol, gamma [mg] Total lipid (fat) [g] Tryptophan [g] Tyrosine [g] Valine [g] Vitamin A, IU [IU] Vitamin A, RAE [mcg_RAE] Vitamin B-12 [mcg] Vitamin B-12, added [mcg] Vitamin B-6 [mg] Vitamin C, total ascorbic acid [mg] Vitamin D [IU] Vitamin D (D2 + D3) [mcg] Vitamin D2 (ergocalciferol) [mcg] Vitamin D3 (cholecalciferol) [mcg] Vitamin E (alpha-tocopherol) [mg] Vitamin E, added [mg] Vitamin K (phylloquinone) [mcg] Water [g] Zinc, Zn [mg] Name: units, Length: 94 Out[164]: <class 'pandas.core.frame.DataFrame'> Int64Index: 389355 entries, 0 to 389354 Data columns: id 389355 non-null values fname 389355 non-null values fgroup 389355 non-null values nname 389355 non-null values ngroup 389355 non-null values units 389355 non-null values value 389355 non-null values dtypes: float64(1), int64(1), object(5) Out[174]: 86.0 Out[184]: nname Adjusted Protein g Alanine g Alcohol, ethyl g Arginine g Ash g Aspartic acid g Beta-sitosterol mg Betaine mg Caffeine mg Calcium, Ca mg Campesterol mg Carbohydrate, by difference g Carotene, alpha mcg Carotene, beta mcg Cholesterol mg Choline, total mg
  42. 26/01/2013 08:36 Page 42 of 163 http://nbviewer.ipython.org/3904875/ Copper, Cu mg

    Cryptoxanthin, beta mcg Cystine g Dihydrophylloquinone mcg Energy kcal Fatty acids, total monounsaturated g Fatty acids, total polyunsaturated g Fatty acids, total saturated g Fatty acids, total trans g Fatty acids, total trans-monoenoic g Fatty acids, total trans-polyenoic g Fiber, total dietary g Fluoride, F mcg Folate, DFE mcg_DFE Folate, food mcg Folate, total mcg Folic acid mcg Fructose g Galactose g Glucose (dextrose) g Glutamic acid g Glycine g Histidine g Hydroxyproline g Iron, Fe mg Isoleucine g Lactose g Leucine g Lutein + zeaxanthin mcg Lycopene mcg Lysine g Magnesium, Mg mg Maltose g Manganese, Mn mg Menaquinone-4 mcg Methionine g Niacin mg Pantothenic acid mg Phenylalanine g Phosphorus, P mg Phytosterols mg Potassium, K mg Proline g Protein g Retinol mcg Riboflavin mg Selenium, Se mcg Serine g Sodium, Na mg Starch g Stigmasterol mg Sucrose g Sugars, total g Theobromine mg Thiamin mg Threonine g Tocopherol, beta mg Tocopherol, delta mg Tocopherol, gamma mg Total lipid (fat) g Tryptophan g Tyrosine g Valine g
  43. 26/01/2013 08:36 Page 43 of 163 http://nbviewer.ipython.org/3904875/ In [188]: data

    = data[-((data.nname == 'Energy') & (data.units == 'kJ'))] In [190]: by_nname = data.groupby('nname') table = by_nname['value'].agg(['mean', 'median', 'count']) table['units'] = by_nname.units.agg(lambda x: x.unique()[0]) table Vitamin A, IU IU Vitamin A, RAE mcg_RAE Vitamin B-12 mcg Vitamin B-12, added mcg Vitamin B-6 mg Vitamin C, total ascorbic acid mg Vitamin D IU Vitamin D (D2 + D3) mcg Vitamin D2 (ergocalciferol) mcg Vitamin D3 (cholecalciferol) mcg Vitamin E (alpha-tocopherol) mg Vitamin E, added mg Vitamin K (phylloquinone) mcg Water g Zinc, Zn mg Name: units, Length: 94 Out[190]: mean median count units nname Adjusted Protein 7.540000 7.5400 2 g Alanine 0.762855 0.5770 4259 g Alcohol, ethyl 0.237288 0.0000 4122 g Arginine 0.880739 0.6690 4304 g Ash 1.828805 1.2200 6861 g Aspartic acid 1.278873 1.0470 4262 g Beta-sitosterol 70.187500 37.5000 96 mg Betaine 12.359049 6.0000 1514 mg Caffeine 5.517770 0.0000 3911 mg Calcium, Ca 87.242007 25.0000 6756 mg Campesterol 17.916667 5.0000 96 mg Carbohydrate, by difference 22.919311 10.5950 6866 g Carotene, alpha 36.822117 0.0000 3997 mcg Carotene, beta 285.436995 0.0000 4087 mcg Cholesterol 37.701864 2.0000 6544 mg Choline, total 43.246071 23.2000 3614 mg Copper, Cu 0.206017 0.0960 6218 mg Cryptoxanthin, beta 18.531477 0.0000 3987 mcg Cystine 0.175914 0.1740 4261 g Dihydrophylloquinone 1.863462 0.0000 1144 mcg Energy 217.299447 186.0000 6866 kcal Fatty acids, total monounsaturated 3.749621 1.6600 6245 g Fatty acids, total polyunsaturated 1.880107 0.6060 6245 g Fatty acids, total saturated 3.179523 1.3445 6548 g Fatty acids, total trans 0.401677 0.0530 1545 g Fatty acids, total trans-monoenoic 0.420206 0.0710 690 g Fatty acids, total trans-polyenoic 0.082695 0.0260 499 g Fiber, total dietary 2.328581 0.8000 6193 g Fluoride, F 30.653208 22.4000 530 mcg Folate, DFE 73.357824 13.0000 5662 mcg_DFE Folate, food 27.129959 10.0000 5848 mcg Folate, total 55.731179 13.0000 6004 mcg Folic acid 27.757234 0.0000 5668 mcg Fructose 1.367068 0.2300 1129 g Galactose 0.027630 0.0000 979 g
  44. 26/01/2013 08:36 Page 44 of 163 http://nbviewer.ipython.org/3904875/ In [207]: pd.set_printoptions(multi_sparse=True)

    In [208]: by_nname = data.groupby(['fgroup', 'nname']) Glucose (dextrose) 1.584324 0.4400 1131 g Glutamic acid 2.437636 2.4750 4263 g Glycine 0.708006 0.4775 4260 g Histidine 0.424365 0.3070 4312 g Hydroxyproline 0.183265 0.1480 867 g Iron, Fe 2.814094 1.3600 6769 mg Isoleucine 0.628460 0.5000 4320 g Lactose 0.985993 0.0000 1118 g Leucine 1.101840 0.9375 4320 g Lutein + zeaxanthin 245.359848 0.0000 3935 mcg Lycopene 150.966658 0.0000 3959 mcg Lysine 1.043834 0.6500 4333 g Magnesium, Mg 38.284244 22.0000 6315 mg Maltose 0.383955 0.0000 1100 g Manganese, Mn 0.516815 0.1170 5603 mg Menaquinone-4 1.668483 0.4500 422 mcg Methionine 0.327902 0.2210 4330 g Niacin 3.653922 2.1400 6372 mg Pantothenic acid 0.637406 0.4100 5646 mg Phenylalanine 0.597463 0.5530 4315 g Phosphorus, P 174.834578 145.0000 6426 mg Phytosterols 62.925000 7.0000 400 mg Potassium, K 296.997558 234.0000 6551 mg Proline 0.772714 0.7590 4248 g Protein 11.141165 7.7000 6866 g Retinol 81.589972 0.0000 5624 mcg Riboflavin 0.268296 0.1640 6417 mg Selenium, Se 15.230605 9.0000 5705 mcg Serine 0.608502 0.5750 4261 g Sodium, Na 299.862471 79.0000 6784 mg Starch 17.674827 11.6000 750 g Stigmasterol 6.552083 2.0000 96 mg Sucrose 2.966827 0.3300 1125 g Sugars, total 9.531609 2.2100 4880 g Theobromine 9.753795 0.0000 3887 mg Thiamin 0.248409 0.0870 6380 mg Threonine 0.565437 0.4400 4318 g Tocopherol, beta 0.056619 0.0000 1269 mg Tocopherol, delta 0.361170 0.0000 1256 mg Tocopherol, gamma 1.608113 0.0400 1272 mg Total lipid (fat) 9.317641 4.4300 6866 g Tryptophan 0.153993 0.1325 4276 g Tyrosine 0.477873 0.3860 4285 g Valine 0.710336 0.5930 4319 g Vitamin A, IU 793.680684 36.5000 6492 IU Vitamin A, RAE 102.725195 2.0000 5906 mcg_RAE Vitamin B-12 1.336297 0.1900 6128 mcg Vitamin B-12, added 0.297308 0.0000 3641 mcg Vitamin B-6 0.307183 0.1450 6214 mg Vitamin C, total ascorbic acid 10.252090 0.2000 6458 mg Vitamin D 25.065945 0.0000 4064 IU Vitamin D (D2 + D3) 0.626434 0.0000 4063 mcg Vitamin D2 (ergocalciferol) 2.569697 1.0000 33 mcg Vitamin D3 (cholecalciferol) 1.052930 0.2000 1024 mcg Vitamin E (alpha-tocopherol) 1.299476 0.2900 4272 mg Vitamin E, added 0.290847 0.0000 3532 mg Vitamin K (phylloquinone) 16.036011 1.5000 3971 mcg Water 54.682999 63.3500 6862 g Zinc, Zn 2.218865 0.9900 6354 mg
  45. 26/01/2013 08:36 Page 45 of 163 http://nbviewer.ipython.org/3904875/ In [208]: by_nname

    = data.groupby(['fgroup', 'nname']) result = by_nname['value'].mean() # agg(['mean', 'median', 'max']) result #result['Baby Foods', 'Caffeine'] Out[208]: fgroup nname Baby Foods Alanine 0.231000 Alcohol, ethyl 0.000000 Arginine 0.275974 Ash 1.167583 Aspartic acid 0.410410 Beta-sitosterol 0.000000 Betaine 3.507143 Caffeine 0.000000 Calcium, Ca 161.094787 Campesterol 0.000000 Carbohydrate, by difference 21.951137 Carotene, alpha 98.695876 Carotene, beta 288.056410 Cholesterol 5.232323 Choline, total 21.911340 Copper, Cu 0.138095 Cryptoxanthin, beta 3.706186 Cystine 0.074974 Dihydrophylloquinone 0.000000 Energy 163.853081 Fatty acids, total monounsaturated 2.316268 Fatty acids, total polyunsaturated 1.421283 Fatty acids, total saturated 2.877457 Fatty acids, total trans 0.006333 Fiber, total dietary 0.844000 Fluoride, F 17.623529 Folate, DFE 34.714286 Folate, food 5.943128 Folate, total 23.142180 Folic acid 17.280952 Fructose 0.988800 Galactose 0.008000 Glucose (dextrose) 5.539655 Glutamic acid 0.930385 Glycine 0.211154 Histidine 0.132128 Hydroxyproline 0.000000 Iron, Fe 4.933270 Isoleucine 0.213769 Lactose 13.842115 Leucine 0.380641 Lutein + zeaxanthin 56.355670 Lycopene 21.984536 Lysine 0.283026 Magnesium, Mg 20.663507 Maltose 0.217200 Manganese, Mn 0.891361 Menaquinone-4 0.944444 Methionine 0.106564 Niacin 3.060479 Pantothenic acid 0.652215 Phenylalanine 0.214051 Phosphorus, P 116.042654 Potassium, K 201.100000 Proline 0.327949 Protein 4.293270 Retinol 105.458937
  46. 26/01/2013 08:36 Page 46 of 163 http://nbviewer.ipython.org/3904875/ Riboflavin 0.322199 Selenium,

    Se 5.310345 Serine 0.196872 Sodium, Na 58.521327 Starch 5.000667 Stigmasterol 0.000000 Sucrose 1.012308 Sugars, total 15.071117 Theobromine 0.000000 Thiamin 0.272891 Threonine 0.185410 Tocopherol, beta 0.020625 Tocopherol, delta 0.135000 Tocopherol, gamma 0.240000 Total lipid (fat) 6.601564 Tryptophan 0.058282 Tyrosine 0.181974 Valine 0.257205 Vitamin A, IU 929.666667 Vitamin A, RAE 133.836538 Vitamin B-12 0.385308 Vitamin B-12, added 0.352161 Vitamin B-6 0.136417 Vitamin C, total ascorbic acid 18.362679 Vitamin D 72.394872 Vitamin D (D2 + D3) 1.808718 Vitamin D3 (cholecalciferol) 0.466667 Vitamin E (alpha-tocopherol) 1.803385 Vitamin E, added 1.490667 Vitamin K (phylloquinone) 12.200515 Water 66.004976 Zinc, Zn 1.336730 Baked Products Alanine 0.263233 Alcohol, ethyl 0.000000 Arginine 0.314973 Ash 2.516895 Aspartic acid 0.414468 Beta-sitosterol 17.000000 Betaine 30.405882 Caffeine 0.992063 Calcium, Ca 110.219008 Campesterol 6.500000 Carbohydrate, by difference 56.978790 Carotene, alpha 3.213115 Carotene, beta 36.505929 Cholesterol 15.315451 Choline, total 19.967886 Copper, Cu 0.150227 Cryptoxanthin, beta 0.823770 Cystine 0.141817 Dihydrophylloquinone 14.605556 Energy 359.532258 Fatty acids, total monounsaturated 5.204525 Fatty acids, total polyunsaturated 2.657851 Fatty acids, total saturated 3.112418 Fatty acids, total trans 2.287000 Fatty acids, total trans-monoenoic 0.665615 Fatty acids, total trans-polyenoic 0.141667 Fiber, total dietary 2.905180 Fluoride, F 29.757143 Folate, DFE 103.317380 Folate, food 28.573494 Folate, total 71.107991
  47. 26/01/2013 08:36 Page 47 of 163 http://nbviewer.ipython.org/3904875/ Folic acid 45.229219

    Fructose 1.166170 Galactose 0.007105 Glucose (dextrose) 1.734468 Glutamic acid 1.966270 Glycine 0.256519 Histidine 0.155899 Hydroxyproline 0.000000 Iron, Fe 2.775571 Isoleucine 0.279423 Lactose 0.510851 Leucine 0.507772 Lutein + zeaxanthin 43.326446 Lycopene 1.487705 Lysine 0.253177 Magnesium, Mg 29.581609 Maltose 0.964681 Manganese, Mn 0.586411 Menaquinone-4 0.675000 Methionine 0.128587 Niacin 2.945783 Pantothenic acid 0.399842 Phenylalanine 0.336534 Phosphorus, P 206.162844 Phytosterols 18.166667 Potassium, K 214.646934 Proline 0.667315 Protein 6.734214 Retinol 33.681462 Riboflavin 0.259430 Selenium, Se 15.655733 Serine 0.355098 Sodium, Na 567.235887 Starch 40.305000 Stigmasterol 5.500000 Sucrose 10.118298 Sugars, total 18.627310 Theobromine 16.194444 Thiamin 0.321079 Threonine 0.224310 Tocopherol, beta 0.138684 Tocopherol, delta 1.547105 Tocopherol, gamma 5.223158 Total lipid (fat) 12.144919 Tryptophan 0.086857 Tyrosine 0.214566 Valine 0.326333 Vitamin A, IU 202.496760 Vitamin A, RAE 34.791563 Vitamin B-12 0.141540 Vitamin B-12, added 0.046481 Vitamin B-6 0.121395 Vitamin C, total ascorbic acid 0.350112 Vitamin D 2.197368 Vitamin D (D2 + D3) 0.055263 Vitamin E (alpha-tocopherol) 0.718516 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 6.866797 Water 21.464073 Zinc, Zn 0.822194 Beef Products Alanine 1.499070 Alcohol, ethyl 0.000000 Arginine 1.620246
  48. 26/01/2013 08:36 Page 48 of 163 http://nbviewer.ipython.org/3904875/ Ash 1.107460 Aspartic

    acid 2.283145 Betaine 14.553219 Caffeine 0.000000 Calcium, Ca 13.893204 Carbohydrate, by difference 0.074013 Carotene, alpha 0.059675 Carotene, beta 1.414722 Cholesterol 98.444984 Choline, total 98.217891 Copper, Cu 0.159199 Cryptoxanthin, beta 0.081374 Cystine 0.296273 Dihydrophylloquinone 0.000000 Energy 215.783172 Fatty acids, total monounsaturated 5.417042 Fatty acids, total polyunsaturated 0.580280 Fatty acids, total saturated 4.887157 Fatty acids, total trans 0.552788 Fatty acids, total trans-monoenoic 0.519085 Fatty acids, total trans-polyenoic 0.051579 Fiber, total dietary 0.004369 Fluoride, F 22.123810 Folate, DFE 9.385502 Folate, food 9.400324 Folate, total 9.400324 Folic acid 0.000000 Fructose 0.000000 Galactose 0.000000 Glucose (dextrose) 0.000000 Glutamic acid 3.800319 Glycine 1.394594 Histidine 0.809935 Hydroxyproline 0.225330 Iron, Fe 2.569175 Isoleucine 1.127169 Lactose 0.000000 Leucine 2.007064 Lutein + zeaxanthin 0.000000 Lycopene 0.108499 Lysine 2.133181 Magnesium, Mg 21.702265 Maltose 0.000000 Manganese, Mn 0.017303 Menaquinone-4 1.986486 Methionine 0.662796 Niacin 4.920783 Pantothenic acid 0.639323 Phenylalanine 0.985614 Phosphorus, P 205.019417 Phytosterols 0.000000 Potassium, K 316.566343 Proline 1.141361 Protein 24.763560 Retinol 41.587387 Riboflavin 0.214065 Selenium, Se 27.107443 Serine 0.977860 Sodium, Na 72.250809 Sucrose 0.000000 Sugars, total 0.000000 Theobromine 0.000000 Thiamin 0.079430
  49. 26/01/2013 08:36 Page 49 of 163 http://nbviewer.ipython.org/3904875/ Threonine 1.048035 Tocopherol,

    beta 0.000846 Tocopherol, delta 0.000923 Tocopherol, gamma 0.004962 Total lipid (fat) 12.330243 Tryptophan 0.218913 Tyrosine 0.827082 Valine 1.220286 Vitamin A, IU 126.720065 Vitamin A, RAE 38.135091 Vitamin B-12 3.081893 Vitamin B-12, added 0.000000 Vitamin B-6 0.424594 Vitamin C, total ascorbic acid 0.583172 Vitamin D 6.625000 Vitamin D (D2 + D3) 0.160484 Vitamin D3 (cholecalciferol) 0.160484 Vitamin E (alpha-tocopherol) 0.278164 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 1.468627 Water 61.950421 Zinc, Zn 5.869094 Beverages Alanine 0.053087 Alcohol, ethyl 4.112670 Arginine 0.033109 Ash 1.097302 Aspartic acid 0.103478 Betaine 0.484615 Caffeine 94.207447 Calcium, Ca 82.688797 Carbohydrate, by difference 21.299173 Carotene, alpha 0.948864 Carotene, beta 19.886364 Cholesterol 1.318386 Choline, total 11.333108 Copper, Cu 0.069022 Cryptoxanthin, beta 1.994318 Cystine 0.018978 Dihydrophylloquinone 0.000000 Energy 117.248201 Fatty acids, total monounsaturated 0.299799 Fatty acids, total polyunsaturated 0.088635 Fatty acids, total saturated 0.737132 Fatty acids, total trans 0.072571 Fatty acids, total trans-monoenoic 0.063167 Fatty acids, total trans-polyenoic 0.026500 Fiber, total dietary 0.637826 Fluoride, F 72.060759 Folate, DFE 5.330144 Folate, food 5.028571 Folate, total 5.159624 Folic acid 0.162679 Fructose 4.590000 Galactose 0.000000 Glucose (dextrose) 3.576429 Glutamic acid 0.318717 Glycine 0.050717 Histidine 0.032348 Hydroxyproline 0.000000 Iron, Fe 0.695294 Isoleucine 0.059087 Lactose 0.235882 Leucine 0.109277
  50. 26/01/2013 08:36 Page 50 of 163 http://nbviewer.ipython.org/3904875/ Lutein + zeaxanthin

    4.724138 Lycopene 18.585227 Lysine 0.061362 Magnesium, Mg 26.017167 Maltose 0.082727 Manganese, Mn 1.864316 Menaquinone-4 0.000000 Methionine 0.023362 Niacin 2.574733 Pantothenic acid 0.285146 Phenylalanine 0.059283 Phosphorus, P 79.424779 Phytosterols 0.000000 Potassium, K 299.845238 Proline 0.119500 Protein 1.336727 Retinol 105.698565 Riboflavin 0.256360 Selenium, Se 1.685377 Serine 0.052311 Sodium, Na 78.276680 Starch 1.821053 Sucrose 9.482308 Sugars, total 16.541810 Theobromine 28.180328 Thiamin 0.064921 Threonine 0.071396 Tocopherol, beta 0.005556 Tocopherol, delta 0.017000 Tocopherol, gamma 0.057000 Total lipid (fat) 0.991151 Tryptophan 0.025833 Tyrosine 0.051891 Valine 0.073022 Vitamin A, IU 482.901288 Vitamin A, RAE 107.425837 Vitamin B-12 0.147430 Vitamin B-12, added 0.071207 Vitamin B-6 0.193618 Vitamin C, total ascorbic acid 43.872881 Vitamin D 16.699301 Vitamin D (D2 + D3) 0.417483 Vitamin D2 (ergocalciferol) 1.000000 Vitamin E (alpha-tocopherol) 0.198073 Vitamin E, added 0.050736 Vitamin K (phylloquinone) 0.360571 Water 71.723993 Zinc, Zn 0.239386 Breakfast Cereals Alanine 0.340753 Alcohol, ethyl 0.000000 Arginine 0.345178 Ash 2.499727 Aspartic acid 0.513767 Betaine 65.183333 Caffeine 0.206406 Calcium, Ca 154.164179 Carbohydrate, by difference 67.871712 Carotene, alpha 5.284173 Carotene, beta 31.363958 Cholesterol 0.170984 Choline, total 19.908676 Copper, Cu 0.214207 Cryptoxanthin, beta 1.140288
  51. 26/01/2013 08:36 Page 51 of 163 http://nbviewer.ipython.org/3904875/ Cystine 0.128384 Dihydrophylloquinone

    0.020000 Energy 318.248139 Fatty acids, total monounsaturated 1.228054 Fatty acids, total polyunsaturated 1.211910 Fatty acids, total saturated 0.801997 Fatty acids, total trans 0.058274 Fatty acids, total trans-monoenoic 0.006040 Fatty acids, total trans-polyenoic 0.016040 Fiber, total dietary 6.431592 Fluoride, F 40.640000 Folate, DFE 574.970326 Folate, food 33.603448 Folate, total 355.026596 Folic acid 326.813609 Fructose 1.079778 Galactose 0.007174 Glucose (dextrose) 1.323778 Glutamic acid 1.702151 Glycine 0.292932 Histidine 0.162411 Hydroxyproline 0.000000 Iron, Fe 13.990075 Isoleucine 0.251233 Lactose 0.000000 Leucine 0.574699 Lutein + zeaxanthin 153.248175 Lycopene 0.000000 Lysine 0.203889 Magnesium, Mg 66.851562 Maltose 0.776444 Manganese, Mn 1.667613 Menaquinone-4 0.000000 Methionine 0.117630 Niacin 12.783119 Pantothenic acid 1.343219 Phenylalanine 0.334425 Phosphorus, P 208.161954 Phytosterols 4.000000 Potassium, K 252.698254 Proline 0.571178 Protein 7.602556 Retinol 351.579755 Riboflavin 1.057749 Selenium, Se 14.934395 Serine 0.334110 Sodium, Na 367.019851 Starch 38.527143 Sucrose 5.954600 Sugars, total 20.407432 Theobromine 3.775801 Thiamin 1.021000 Threonine 0.219562 Tocopherol, beta 0.025758 Tocopherol, delta 0.013636 Tocopherol, gamma 0.331212 Total lipid (fat) 3.633871 Tryptophan 0.081753 Tyrosine 0.185014 Valine 0.327137 Vitamin A, IU 1148.400510 Vitamin A, RAE 333.895954 Vitamin B-12 3.154661
  52. 26/01/2013 08:36 Page 52 of 163 http://nbviewer.ipython.org/3904875/ Vitamin B-12, added

    4.127409 Vitamin B-6 1.389213 Vitamin C, total ascorbic acid 15.518546 Vitamin D 66.493289 Vitamin D (D2 + D3) 1.659732 Vitamin D3 (cholecalciferol) 4.050000 Vitamin E (alpha-tocopherol) 3.332178 Vitamin E, added 2.341743 Vitamin K (phylloquinone) 1.657241 Water 18.393201 Zinc, Zn 6.068359 Cereal Grains and Pasta Alanine 0.392688 Alcohol, ethyl 0.000000 Arginine 0.434488 Ash 1.233770 Aspartic acid 0.525524 Betaine 64.500000 Caffeine 0.000000 Calcium, Ca 38.983607 Carbohydrate, by difference 58.314754 Carotene, alpha 4.594059 Carotene, beta 12.386139 Cholesterol 3.839080 Choline, total 19.259756 Copper, Cu 0.227709 Cryptoxanthin, beta 0.118812 Cystine 0.189964 Dihydrophylloquinone 0.111111 Energy 285.142077 Fatty acids, total monounsaturated 0.535602 Fatty acids, total polyunsaturated 0.970801 Fatty acids, total saturated 0.401722 Fatty acids, total trans 0.014000 Fatty acids, total trans-monoenoic 0.001529 Fatty acids, total trans-polyenoic 0.038333 Fiber, total dietary 5.617610 Fluoride, F 13.871429 Folate, DFE 113.602273 Folate, food 27.286517 Folate, total 78.252809 Folic acid 50.801136 Fructose 0.069636 Galactose 0.000000 Glucose (dextrose) 0.196545 Glutamic acid 2.400512 Glycine 0.353947 Histidine 0.203359 Hydroxyproline 0.000000 Iron, Fe 2.722842 Isoleucine 0.329112 Lactose 0.000000 Leucine 0.681635 Lutein + zeaxanthin 235.514851 Lycopene 2.425743 Lysine 0.252759 Magnesium, Mg 68.956044 Maltose 0.679608 Manganese, Mn 1.387326 Menaquinone-4 0.214286 Methionine 0.155318 Niacin 3.470410 Pantothenic acid 0.607509 Phenylalanine 0.425071
  53. 26/01/2013 08:36 Page 53 of 163 http://nbviewer.ipython.org/3904875/ Phosphorus, P 202.775956

    Phytosterols 9.000000 Potassium, K 194.016393 Proline 0.795759 Protein 9.106831 Retinol 0.726190 Riboflavin 0.176699 Selenium, Se 23.950000 Serine 0.423235 Sodium, Na 104.240437 Starch 54.308696 Sucrose 0.377119 Sugars, total 0.959817 Theobromine 0.000000 Thiamin 0.383060 Threonine 0.273076 Tocopherol, beta 0.075536 Tocopherol, delta 0.051228 Tocopherol, gamma 0.946491 Total lipid (fat) 2.255519 Tryptophan 0.105296 Tyrosine 0.235435 Valine 0.411459 Vitamin A, IU 29.566474 Vitamin A, RAE 1.982456 Vitamin B-12 0.015747 Vitamin B-12, added 0.000000 Vitamin B-6 0.219610 Vitamin C, total ascorbic acid 0.046857 Vitamin D 0.213836 Vitamin D (D2 + D3) 0.005660 Vitamin E (alpha-tocopherol) 0.440252 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 3.322018 Water 29.087814 Zinc, Zn 1.487363 Dairy and Egg Products Alanine 0.455776 Alcohol, ethyl 0.000000 Arginine 0.510179 Ash 2.786798 Aspartic acid 0.948962 Beta-sitosterol 0.000000 Betaine 0.947500 Caffeine 0.482558 Calcium, Ca 376.928854 Campesterol 0.000000 Carbohydrate, by difference 11.937470 Carotene, alpha 0.000000 Carotene, beta 24.154696 Cholesterol 61.656126 Choline, total 47.353714 Copper, Cu 0.062955 Cryptoxanthin, beta 0.808989 Cystine 0.118346 Dihydrophylloquinone 0.013636 Energy 195.988142 Fatty acids, total monounsaturated 2.987764 Fatty acids, total polyunsaturated 0.496450 Fatty acids, total saturated 6.413763 Fatty acids, total trans 0.462500 Fatty acids, total trans-monoenoic 0.490333 Fatty acids, total trans-polyenoic 0.112333 Fiber, total dietary 0.059109
  54. 26/01/2013 08:36 Page 54 of 163 http://nbviewer.ipython.org/3904875/ Fluoride, F 18.840000

    Folate, DFE 22.691589 Folate, food 16.140187 Folate, total 19.995327 Folic acid 3.855140 Fructose 0.001364 Galactose 0.024545 Glucose (dextrose) 0.055909 Glutamic acid 2.804679 Glycine 0.265590 Histidine 0.413276 Hydroxyproline 0.009000 Iron, Fe 0.523083 Isoleucine 0.743199 Lactose 3.147600 Leucine 1.283615 Lutein + zeaxanthin 30.747191 Lycopene 0.000000 Lysine 1.122192 Magnesium, Mg 28.350000 Maltose 0.019200 Manganese, Mn 0.023024 Menaquinone-4 3.390000 Methionine 0.364327 Niacin 0.377945 Pantothenic acid 0.778553 Phenylalanine 0.680327 Phosphorus, P 354.438735 Phytosterols 11.052632 Potassium, K 283.581028 Proline 1.355590 Protein 13.562292 Retinol 128.414747 Riboflavin 0.345818 Selenium, Se 11.047005 Serine 0.778250 Sodium, Na 459.648221 Starch 0.562500 Stigmasterol 0.000000 Sucrose 0.106800 Sugars, total 10.123271 Theobromine 5.622093 Thiamin 0.073382 Threonine 0.554897 Tocopherol, beta 0.003529 Tocopherol, delta 0.006486 Tocopherol, gamma 0.098649 Total lipid (fat) 10.426838 Tryptophan 0.186776 Tyrosine 0.666295 Valine 0.904558 Vitamin A, IU 489.584980 Vitamin A, RAE 128.695455 Vitamin B-12 1.025345 Vitamin B-12, added 0.020930 Vitamin B-6 0.103950 Vitamin C, total ascorbic acid 1.808907 Vitamin D 37.821053 Vitamin D (D2 + D3) 0.948421 Vitamin D2 (ergocalciferol) 1.100000 Vitamin D3 (cholecalciferol) 1.235606 Vitamin E (alpha-tocopherol) 0.404365 Vitamin E, added 0.160407
  55. 26/01/2013 08:36 Page 55 of 163 http://nbviewer.ipython.org/3904875/ Vitamin K (phylloquinone)

    2.491011 Water 61.305692 Zinc, Zn 1.796043 Ethnic Foods Alanine 1.549114 Alcohol, ethyl 0.000000 Arginine 1.557771 Ash 1.651636 Aspartic acid 2.281528 Beta-sitosterol 4.000000 Betaine 30.707143 Caffeine 0.000000 Calcium, Ca 70.256944 Campesterol 1.000000 Carbohydrate, by difference 11.242970 Carotene, alpha 6.517857 Carotene, beta 182.473684 Cholesterol 88.471429 Choline, total 89.375862 Copper, Cu 0.201703 Cryptoxanthin, beta 19.210526 Cystine 0.244111 Dihydrophylloquinone 0.160606 Energy 209.036364 Fatty acids, total monounsaturated 4.654376 Fatty acids, total polyunsaturated 2.220419 Fatty acids, total saturated 1.989233 Fatty acids, total trans 0.033235 Fatty acids, total trans-monoenoic 0.016154 Fatty acids, total trans-polyenoic 0.011923 Fiber, total dietary 4.170588 Folate, DFE 29.309524 Folate, food 19.636364 Folate, total 25.194805 Folic acid 9.953488 Fructose 1.193133 Galactose 0.000000 Glucose (dextrose) 0.568554 Glutamic acid 3.620000 Glycine 1.349147 Histidine 0.756778 Hydroxyproline 0.117857 Iron, Fe 4.997651 Isoleucine 1.066361 Lactose 0.000000 Leucine 2.029629 Lutein + zeaxanthin 369.061224 Lycopene 119.298246 Lysine 1.971286 Magnesium, Mg 44.049020 Maltose 0.192410 Manganese, Mn 0.383535 Menaquinone-4 0.530233 Methionine 0.655667 Niacin 3.665610 Pantothenic acid 0.811850 Phenylalanine 1.041457 Phosphorus, P 205.671233 Phytosterols 0.000000 Potassium, K 347.768519 Proline 1.182314 Protein 15.996061 Retinol 83.500000 Riboflavin 0.275182
  56. 26/01/2013 08:36 Page 56 of 163 http://nbviewer.ipython.org/3904875/ Selenium, Se 43.917808

    Serine 1.038171 Sodium, Na 160.234234 Starch 10.871579 Stigmasterol 2.000000 Sucrose 0.793373 Sugars, total 2.700482 Theobromine 0.000000 Thiamin 0.111444 Threonine 1.076200 Tocopherol, beta 0.099178 Tocopherol, delta 0.080000 Tocopherol, gamma 0.449054 Total lipid (fat) 11.109758 Tryptophan 0.337595 Tyrosine 0.800714 Valine 1.202343 Vitamin A, IU 3079.725806 Vitamin A, RAE 80.757143 Vitamin B-12 6.823571 Vitamin B-12, added 0.000000 Vitamin B-6 0.268663 Vitamin C, total ascorbic acid 12.646392 Vitamin D 96.882353 Vitamin D (D2 + D3) 2.417647 Vitamin E (alpha-tocopherol) 1.659221 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 15.314706 Water 59.890909 Zinc, Zn 2.063824 Fast Foods Alanine 0.580446 Alcohol, ethyl 0.000000 Arginine 0.631418 Ash 2.030055 Aspartic acid 0.922457 Betaine 19.100000 Caffeine 0.275862 Calcium, Ca 89.410959 Carbohydrate, by difference 22.933041 Carotene, alpha 0.811594 Carotene, beta 48.291139 Cholesterol 50.660057 Choline, total 46.108108 Copper, Cu 0.112905 Cryptoxanthin, beta 0.811594 Cystine 0.156164 Dihydrophylloquinone 7.434545 Energy 250.010959 Fatty acids, total monounsaturated 4.799942 Fatty acids, total polyunsaturated 2.347142 Fatty acids, total saturated 4.337019 Fatty acids, total trans 0.507538 Fatty acids, total trans-monoenoic 0.366449 Fatty acids, total trans-polyenoic 0.069784 Fiber, total dietary 1.396653 Fluoride, F 28.150000 Folate, DFE 58.469945 Folate, food 20.094340 Folate, total 43.849057 Folic acid 21.846995 Fructose 1.421610 Galactose 0.045928 Glucose (dextrose) 1.512864
  57. 26/01/2013 08:36 Page 57 of 163 http://nbviewer.ipython.org/3904875/ Glutamic acid 2.605777

    Glycine 0.634790 Histidine 0.322116 Hydroxyproline 0.388067 Iron, Fe 1.596795 Isoleucine 0.480755 Lactose 0.682611 Leucine 0.895275 Lutein + zeaxanthin 49.859649 Lycopene 506.517241 Lysine 0.716272 Magnesium, Mg 22.042493 Maltose 0.674179 Manganese, Mn 0.211617 Menaquinone-4 2.852000 Methionine 0.239562 Niacin 3.137060 Pantothenic acid 0.618968 Phenylalanine 0.520569 Phosphorus, P 164.169972 Phytosterols 6.500000 Potassium, K 207.977465 Proline 0.904703 Protein 11.294986 Retinol 38.853982 Riboflavin 0.220802 Selenium, Se 18.067647 Serine 0.534258 Sodium, Na 517.372603 Starch 19.171639 Sucrose 2.335172 Sugars, total 6.563255 Theobromine 4.620690 Thiamin 0.178629 Threonine 0.431545 Tocopherol, beta 0.178646 Tocopherol, delta 0.931771 Tocopherol, gamma 2.266771 Total lipid (fat) 12.809808 Tryptophan 0.124777 Tyrosine 0.382494 Valine 0.564348 Vitamin A, IU 291.462838 Vitamin A, RAE 44.563636 Vitamin B-12 0.610181 Vitamin B-12, added 0.010545 Vitamin B-6 0.161377 Vitamin C, total ascorbic acid 3.888350 Vitamin D 6.447761 Vitamin D (D2 + D3) 0.158209 Vitamin D3 (cholecalciferol) 0.200000 Vitamin E (alpha-tocopherol) 0.863559 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 8.902190 Water 50.871452 Zinc, Zn 1.336818 Fats and Oils Alanine 0.128000 Alcohol, ethyl 0.969014 Arginine 0.115692 Ash 2.248058 Aspartic acid 0.288385 Beta-sitosterol 220.272727 Betaine 0.354545
  58. 26/01/2013 08:36 Page 58 of 163 http://nbviewer.ipython.org/3904875/ Caffeine 0.000000 Calcium,

    Ca 58.268041 Campesterol 98.000000 Carbohydrate, by difference 9.235049 Carotene, alpha 0.314286 Carotene, beta 121.457143 Cholesterol 45.144330 Choline, total 8.906250 Copper, Cu 0.063000 Cryptoxanthin, beta 2.257143 Cystine 0.027846 Dihydrophylloquinone 20.000000 Energy 540.582524 Fatty acids, total monounsaturated 22.921131 Fatty acids, total polyunsaturated 19.436788 Fatty acids, total saturated 12.451578 Fatty acids, total trans 4.366143 Fatty acids, total trans-monoenoic 4.738500 Fatty acids, total trans-polyenoic 0.732500 Fiber, total dietary 1.683673 Fluoride, F 13.700000 Folate, DFE 19.989247 Folate, food 19.989247 Folate, total 19.989247 Folic acid 0.000000 Fructose 0.462500 Galactose 0.072500 Glucose (dextrose) 0.897500 Glutamic acid 0.283308 Glycine 0.116231 Histidine 0.051038 Hydroxyproline 0.000000 Iron, Fe 2.514747 Isoleucine 0.105538 Lactose 0.295000 Leucine 0.190615 Lutein + zeaxanthin 10.585714 Lycopene 92.000000 Lysine 0.112846 Magnesium, Mg 20.021053 Maltose 0.345000 Manganese, Mn 0.579167 Menaquinone-4 0.242857 Methionine 0.037154 Niacin 0.245179 Pantothenic acid 0.177731 Phenylalanine 0.126692 Phosphorus, P 27.421053 Phytosterols 498.103448 Potassium, K 104.768421 Proline 0.108000 Protein 1.063883 Retinol 485.417582 Riboflavin 0.058844 Selenium, Se 0.725301 Serine 0.102077 Sodium, Na 565.737864 Starch 3.820000 Stigmasterol 24.545455 Sucrose 2.020000 Sugars, total 4.281169 Theobromine 0.000000 Thiamin 0.018526
  59. 26/01/2013 08:36 Page 59 of 163 http://nbviewer.ipython.org/3904875/ Threonine 0.103769 Tocopherol,

    beta 0.255714 Tocopherol, delta 7.865500 Tocopherol, gamma 28.007273 Total lipid (fat) 56.080777 Tryptophan 0.038192 Tyrosine 0.078000 Valine 0.127192 Vitamin A, IU 2349.850000 Vitamin A, RAE 506.107527 Vitamin B-12 0.281413 Vitamin B-12, added 0.000000 Vitamin B-6 0.154642 Vitamin C, total ascorbic acid 2.614583 Vitamin D 190.438356 Vitamin D (D2 + D3) 4.757534 Vitamin D3 (cholecalciferol) 2.500000 Vitamin E (alpha-tocopherol) 9.790247 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 49.914865 Water 30.704369 Zinc, Zn 0.190737 Finfish and Shellfish Products Alanine 1.230061 Alcohol, ethyl 0.000000 Arginine 1.317955 Ash 1.906118 Aspartic acid 2.093178 Betaine 10.100000 Caffeine 0.000000 Calcium, Ca 48.627451 Carbohydrate, by difference 1.337373 Carotene, alpha 0.000000 Carotene, beta 0.214876 Cholesterol 71.717647 Choline, total 82.249565 Copper, Cu 0.285871 Cryptoxanthin, beta 0.008264 Cystine 0.225394 Dihydrophylloquinone 0.285714 Energy 135.243137 Fatty acids, total monounsaturated 1.762541 Fatty acids, total polyunsaturated 1.224264 Fatty acids, total saturated 1.064037 Fatty acids, total trans 0.046342 Fatty acids, total trans-monoenoic 0.058211 Fatty acids, total trans-polyenoic 0.008526 Fiber, total dietary 0.013889 Fluoride, F 75.861538 Folate, DFE 14.976471 Folate, food 13.909804 Folate, total 14.541176 Folic acid 0.639216 Fructose 0.032121 Galactose 0.004194 Glucose (dextrose) 0.221852 Glutamic acid 3.081636 Glycine 1.026522 Histidine 0.558652 Hydroxyproline 0.042000 Iron, Fe 1.522627 Isoleucine 0.941263 Lactose 0.000000 Leucine 1.643749
  60. 26/01/2013 08:36 Page 60 of 163 http://nbviewer.ipython.org/3904875/ Lutein + zeaxanthin

    7.677686 Lycopene 11.553719 Lysine 1.825891 Magnesium, Mg 39.482353 Maltose 0.037273 Manganese, Mn 0.171442 Menaquinone-4 0.496875 Methionine 0.595280 Niacin 4.311576 Pantothenic acid 0.668116 Phenylalanine 0.806700 Phosphorus, P 245.160784 Phytosterols 3.000000 Potassium, K 350.917647 Proline 0.752512 Protein 20.326510 Retinol 55.489796 Riboflavin 0.151035 Selenium, Se 39.761660 Serine 0.850061 Sodium, Na 301.588235 Starch 1.358182 Sucrose 0.162273 Sugars, total 0.166667 Theobromine 0.000000 Thiamin 0.093282 Threonine 0.894433 Tocopherol, beta 0.004528 Tocopherol, delta 0.090377 Tocopherol, gamma 0.245660 Total lipid (fat) 4.811961 Tryptophan 0.235642 Tyrosine 0.701862 Valine 1.034150 Vitamin A, IU 182.803922 Vitamin A, RAE 54.420000 Vitamin B-12 4.897333 Vitamin B-12, added 0.000000 Vitamin B-6 0.284271 Vitamin C, total ascorbic acid 1.353725 Vitamin D 210.486957 Vitamin D (D2 + D3) 5.261739 Vitamin D3 (cholecalciferol) 5.140708 Vitamin E (alpha-tocopherol) 1.175242 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 1.156911 Water 71.648824 Zinc, Zn 2.918000 Fruits and Fruit Juices Alanine 0.044258 Alcohol, ethyl 0.000000 Arginine 0.042294 Ash 0.586646 Aspartic acid 0.150975 Beta-sitosterol 52.000000 Betaine 0.251064 Caffeine 0.000000 Calcium, Ca 21.021341 Campesterol 3.666667 Carbohydrate, by difference 21.343720 Carotene, alpha 12.484979 Carotene, beta 152.544681 Cholesterol 0.000000 Choline, total 6.112919
  61. 26/01/2013 08:36 Page 61 of 163 http://nbviewer.ipython.org/3904875/ Copper, Cu 0.099180

    Cryptoxanthin, beta 53.883117 Cystine 0.008727 Dihydrophylloquinone 0.014035 Energy 85.929878 Fatty acids, total monounsaturated 0.239317 Fatty acids, total polyunsaturated 0.119638 Fatty acids, total saturated 0.092629 Fatty acids, total trans 0.027900 Fatty acids, total trans-monoenoic 0.024125 Fatty acids, total trans-polyenoic 0.009625 Fiber, total dietary 2.357860 Fluoride, F 27.426316 Folate, DFE 9.727891 Folate, food 9.883333 Folate, total 9.883333 Folic acid 0.000000 Fructose 5.448144 Galactose 0.016790 Glucose (dextrose) 5.605361 Glutamic acid 0.108153 Glycine 0.032301 Histidine 0.016620 Iron, Fe 0.618869 Isoleucine 0.024445 Lactose 0.000119 Leucine 0.042274 Lutein + zeaxanthin 68.339367 Lycopene 82.936937 Lysine 0.037959 Magnesium, Mg 13.873846 Maltose 0.164157 Manganese, Mn 0.207112 Menaquinone-4 0.040000 Methionine 0.011012 Niacin 0.528901 Pantothenic acid 0.172170 Phenylalanine 0.027598 Phosphorus, P 22.405488 Phytosterols 13.894737 Potassium, K 215.963303 Proline 0.054411 Protein 0.868262 Retinol 0.000000 Riboflavin 0.046464 Selenium, Se 0.400413 Serine 0.037405 Sodium, Na 15.363914 Starch 1.840909 Stigmasterol 1.333333 Sucrose 2.628333 Sugars, total 16.297949 Theobromine 0.000000 Thiamin 0.038065 Threonine 0.026872 Tocopherol, beta 0.008088 Tocopherol, delta 0.043043 Tocopherol, gamma 0.136765 Total lipid (fat) 0.554909 Tryptophan 0.009000 Tyrosine 0.017323 Valine 0.034476 Vitamin A, IU 402.470219
  62. 26/01/2013 08:36 Page 62 of 163 http://nbviewer.ipython.org/3904875/ Vitamin A, RAE

    20.201893 Vitamin B-12 0.000000 Vitamin B-12, added 0.000000 Vitamin B-6 0.075401 Vitamin C, total ascorbic acid 30.085583 Vitamin D 0.202952 Vitamin D (D2 + D3) 0.005166 Vitamin D3 (cholecalciferol) 0.700000 Vitamin E (alpha-tocopherol) 0.384089 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 4.208969 Water 76.647835 Zinc, Zn 0.143196 Lamb, Veal, and Game Products Alanine 1.395436 Alcohol, ethyl 0.000000 Arginine 1.408166 Ash 1.172986 Aspartic acid 2.065683 Betaine 13.760000 Caffeine 0.000000 Calcium, Ca 15.371014 Carbohydrate, by difference 0.133217 Carotene, alpha 0.411765 Carotene, beta 1.152941 Cholesterol 146.268437 Choline, total 118.723529 Copper, Cu 0.335264 Cryptoxanthin, beta 0.447059 Cystine 0.269590 Dihydrophylloquinone 0.001613 Energy 213.304348 Fatty acids, total monounsaturated 4.909499 Fatty acids, total polyunsaturated 0.887153 Fatty acids, total saturated 5.351578 Fatty acids, total trans 0.245000 Fiber, total dietary 0.001761 Fluoride, F 19.333333 Folate, DFE 18.248201 Folate, food 18.147482 Folate, total 18.205036 Folic acid 0.057554 Fructose 0.230000 Galactose 0.000000 Glucose (dextrose) 0.170000 Glutamic acid 3.449576 Glycine 1.189183 Histidine 0.764139 Hydroxyproline 0.306083 Iron, Fe 2.546735 Isoleucine 1.106110 Lactose 0.000000 Leucine 1.838125 Lutein + zeaxanthin 0.000000 Lycopene 0.000000 Lysine 1.986958 Magnesium, Mg 22.526471 Maltose 0.180000 Manganese, Mn 0.032865 Methionine 0.573507 Niacin 6.314050 Pantothenic acid 0.975224 Phenylalanine 0.952173 Phosphorus, P 213.910145
  63. 26/01/2013 08:36 Page 63 of 163 http://nbviewer.ipython.org/3904875/ Phytosterols 3.000000 Potassium,

    K 286.766764 Proline 1.007223 Protein 23.424667 Retinol 270.145390 Riboflavin 0.380632 Selenium, Se 18.665797 Serine 0.892238 Sodium, Na 73.918367 Starch 5.490000 Sucrose 0.000000 Sugars, total 0.013412 Theobromine 0.000000 Thiamin 0.117067 Threonine 1.004812 Tocopherol, beta 0.001429 Tocopherol, delta 0.005714 Tocopherol, gamma 0.031000 Total lipid (fat) 12.506609 Tryptophan 0.257544 Tyrosine 0.773162 Valine 1.240457 Vitamin A, IU 891.873684 Vitamin A, RAE 270.202128 Vitamin B-12 4.967795 Vitamin B-12, added 0.000000 Vitamin B-6 0.263396 Vitamin C, total ascorbic acid 2.341901 Vitamin D 0.676923 Vitamin D (D2 + D3) 0.033846 Vitamin D3 (cholecalciferol) 0.033846 Vitamin E (alpha-tocopherol) 0.281359 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 3.750000 Water 62.955913 Zinc, Zn 4.098909 Legumes and Legume Products Alanine 0.780855 Alcohol, ethyl 0.000000 Arginine 1.433920 Ash 2.426575 Aspartic acid 2.156490 Beta-sitosterol 47.000000 Betaine 1.767742 Caffeine 0.066116 Calcium, Ca 96.865753 Campesterol 6.000000 Carbohydrate, by difference 20.385123 Carotene, alpha 0.000000 Carotene, beta 15.416058 Cholesterol 0.551821 Choline, total 55.322951 Copper, Cu 0.587093 Cryptoxanthin, beta 0.328467 Cystine 0.227271 Dihydrophylloquinone 0.175000 Energy 204.252055 Fatty acids, total monounsaturated 3.196570 Fatty acids, total polyunsaturated 3.457788 Fatty acids, total saturated 1.237144 Fatty acids, total trans 0.034331 Fatty acids, total trans-monoenoic 0.005300 Fatty acids, total trans-polyenoic 0.036600 Fiber, total dietary 6.099413
  64. 26/01/2013 08:36 Page 64 of 163 http://nbviewer.ipython.org/3904875/ Fluoride, F 9.990000

    Folate, DFE 156.699571 Folate, food 132.992620 Folate, total 134.889299 Folic acid 2.206009 Fructose 0.430417 Galactose 0.014783 Glucose (dextrose) 0.766667 Glutamic acid 3.336460 Glycine 0.814490 Histidine 0.487877 Hydroxyproline 0.004000 Iron, Fe 3.257830 Isoleucine 0.802768 Lactose 0.002500 Leucine 1.389079 Lutein + zeaxanthin 1.340741 Lycopene 23.029412 Lysine 1.093335 Magnesium, Mg 87.631944 Maltose 0.028750 Manganese, Mn 1.094531 Methionine 0.232202 Niacin 3.816482 Pantothenic acid 0.677053 Phenylalanine 0.949030 Phosphorus, P 232.041009 Phytosterols 86.944444 Potassium, K 487.877193 Proline 0.913270 Protein 15.330548 Retinol 14.716738 Riboflavin 0.202386 Selenium, Se 6.381124 Serine 0.965910 Sodium, Na 339.128767 Starch 10.539130 Stigmasterol 4.000000 Sucrose 2.628333 Sugars, total 3.705597 Theobromine 0.694215 Thiamin 0.672580 Threonine 0.696385 Tocopherol, beta 0.062400 Tocopherol, delta 0.436400 Tocopherol, gamma 3.545200 Total lipid (fat) 7.820767 Tryptophan 0.220433 Tyrosine 0.624435 Valine 0.877640 Vitamin A, IU 126.370787 Vitamin A, RAE 15.283439 Vitamin B-12 0.806911 Vitamin B-12, added 0.339292 Vitamin B-6 0.304680 Vitamin C, total ascorbic acid 2.558523 Vitamin D 5.142857 Vitamin D (D2 + D3) 0.127027 Vitamin D2 (ergocalciferol) 1.090000 Vitamin E (alpha-tocopherol) 2.119214 Vitamin E, added 0.678938 Vitamin K (phylloquinone) 5.228467 Water 54.042822
  65. 26/01/2013 08:36 Page 65 of 163 http://nbviewer.ipython.org/3904875/ Zinc, Zn 2.012952

    Meals, Entrees, and Sidedishes Alanine 0.319136 Alcohol, ethyl 0.000000 Arginine 0.351682 Ash 2.298947 Aspartic acid 0.547455 Betaine 16.646154 Caffeine 0.000000 Calcium, Ca 59.382979 Carbohydrate, by difference 22.597368 Carotene, alpha 133.913043 Carotene, beta 380.000000 Cholesterol 11.071429 Choline, total 19.573077 Copper, Cu 0.163152 Cryptoxanthin, beta 6.347826 Cystine 0.112600 Dihydrophylloquinone 2.109091 Energy 156.192982 Fatty acids, total monounsaturated 1.885279 Fatty acids, total polyunsaturated 0.908233 Fatty acids, total saturated 1.616930 Fatty acids, total trans 0.048077 Fatty acids, total trans-monoenoic 0.119500 Fatty acids, total trans-polyenoic 0.046000 Fiber, total dietary 2.045455 Fluoride, F 50.750000 Folate, DFE 75.478261 Folate, food 15.217391 Folate, total 41.743590 Folic acid 35.434783 Fructose 0.558636 Galactose 0.000000 Glucose (dextrose) 0.723810 Glutamic acid 1.847818 Glycine 0.304545 Histidine 0.197273 Hydroxyproline 0.013000 Iron, Fe 1.435510 Isoleucine 0.301409 Lactose 0.909474 Leucine 0.565773 Lutein + zeaxanthin 79.739130 Lycopene 1596.434783 Lysine 0.380318 Magnesium, Mg 18.902439 Maltose 1.504000 Manganese, Mn 0.280719 Menaquinone-4 2.342857 Methionine 0.140238 Niacin 1.832644 Pantothenic acid 0.308172 Phenylalanine 0.339273 Phosphorus, P 89.292683 Phytosterols 0.000000 Potassium, K 192.268293 Proline 0.724909 Protein 6.252105 Retinol 15.217391 Riboflavin 0.174978 Selenium, Se 12.818182 Serine 0.349318 Sodium, Na 448.087719
  66. 26/01/2013 08:36 Page 66 of 163 http://nbviewer.ipython.org/3904875/ Starch 14.630000 Sucrose

    0.826500 Sugars, total 3.865306 Theobromine 0.000000 Thiamin 0.182400 Threonine 0.270182 Tocopherol, beta 0.565000 Tocopherol, delta 0.220000 Tocopherol, gamma 0.772500 Total lipid (fat) 4.544035 Tryptophan 0.099200 Tyrosine 0.212429 Valine 0.348045 Vitamin A, IU 574.536585 Vitamin A, RAE 49.125000 Vitamin B-12 0.269231 Vitamin B-12, added 0.016842 Vitamin B-6 0.087098 Vitamin C, total ascorbic acid 3.542222 Vitamin D 7.172414 Vitamin D (D2 + D3) 0.179310 Vitamin E (alpha-tocopherol) 0.316552 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 7.244444 Water 64.317895 Zinc, Zn 0.716585 Nut and Seed Products Alanine 0.736429 Alcohol, ethyl 0.000000 Arginine 1.915317 Ash 3.040703 Aspartic acid 1.613294 Beta-sitosterol 113.035714 Betaine 3.395238 Caffeine 0.000000 Calcium, Ca 134.945312 Campesterol 7.321429 Carbohydrate, by difference 29.366953 Carotene, alpha 0.157895 Carotene, beta 22.333333 Cholesterol 0.000000 Choline, total 42.992157 Copper, Cu 1.126555 Cryptoxanthin, beta 0.215686 Cystine 0.274254 Dihydrophylloquinone 0.000000 Energy 490.093750 Fatty acids, total monounsaturated 16.601484 Fatty acids, total polyunsaturated 11.915500 Fatty acids, total saturated 7.555047 Fatty acids, total trans 0.032000 Fatty acids, total trans-monoenoic 0.021167 Fatty acids, total trans-polyenoic 0.025818 Fiber, total dietary 8.701075 Fluoride, F 6.700000 Folate, DFE 77.740157 Folate, food 77.740157 Folate, total 77.740157 Folic acid 0.000000 Fructose 0.053659 Galactose 0.002778 Glucose (dextrose) 0.121707 Glutamic acid 3.389492 Glycine 0.877198
  67. 26/01/2013 08:36 Page 67 of 163 http://nbviewer.ipython.org/3904875/ Histidine 0.413119 Hydroxyproline

    0.058333 Iron, Fe 4.303543 Isoleucine 0.635960 Lactose 0.000000 Leucine 1.115730 Lutein + zeaxanthin 95.254902 Lycopene 0.000000 Lysine 0.618190 Magnesium, Mg 199.330709 Maltose 0.031951 Manganese, Mn 2.217102 Menaquinone-4 0.000000 Methionine 0.307278 Niacin 3.148417 Pantothenic acid 1.108143 Phenylalanine 0.796159 Phosphorus, P 451.570312 Phytosterols 145.827586 Potassium, K 620.437500 Proline 0.701905 Protein 14.859453 Retinol 0.000000 Riboflavin 0.241341 Selenium, Se 53.711111 Serine 0.792770 Sodium, Na 109.625000 Starch 1.943143 Stigmasterol 3.321429 Sucrose 5.925238 Sugars, total 6.665167 Theobromine 0.000000 Thiamin 0.529008 Threonine 0.560587 Tocopherol, beta 0.360233 Tocopherol, delta 0.588605 Tocopherol, gamma 9.187907 Total lipid (fat) 38.131016 Tryptophan 0.229738 Tyrosine 0.502992 Valine 0.825706 Vitamin A, IU 75.535433 Vitamin A, RAE 3.744000 Vitamin B-12 0.000000 Vitamin B-12, added 0.000000 Vitamin B-6 0.389583 Vitamin C, total ascorbic acid 5.919685 Vitamin D 0.000000 Vitamin D (D2 + D3) 0.000000 Vitamin E (alpha-tocopherol) 9.026833 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 7.824000 Water 14.603594 Zinc, Zn 3.860078 Pork Products Alanine 1.311954 Alcohol, ethyl 0.000000 Arginine 1.427341 Ash 2.013171 Aspartic acid 2.042380 Betaine 3.900833 Caffeine 0.000000 Calcium, Ca 15.292683 Carbohydrate, by difference 0.402774
  68. 26/01/2013 08:36 Page 68 of 163 http://nbviewer.ipython.org/3904875/ Carotene, alpha 0.000000

    Carotene, beta 0.000000 Cholesterol 97.472561 Choline, total 84.383884 Copper, Cu 0.119345 Cryptoxanthin, beta 0.000000 Cystine 0.268017 Dihydrophylloquinone 0.001739 Energy 214.896341 Fatty acids, total monounsaturated 5.830030 Fatty acids, total polyunsaturated 1.572402 Fatty acids, total saturated 4.664731 Fatty acids, total trans 0.070405 Fatty acids, total trans-monoenoic 0.050503 Fatty acids, total trans-polyenoic 0.020934 Fiber, total dietary 0.000000 Fluoride, F 19.166667 Folate, DFE 3.718750 Folate, food 3.707165 Folate, total 3.707165 Folic acid 0.000000 Fructose 0.080135 Galactose 0.000000 Glucose (dextrose) 0.724189 Glutamic acid 3.332587 Glycine 1.165164 Histidine 0.879613 Hydroxyproline 0.119121 Iron, Fe 1.421951 Isoleucine 1.022531 Lactose 0.000000 Leucine 1.788869 Lutein + zeaxanthin 0.000000 Lycopene 0.000000 Lysine 1.927364 Magnesium, Mg 20.140244 Maltose 0.012432 Manganese, Mn 0.022000 Menaquinone-4 3.312500 Methionine 0.565161 Niacin 5.598548 Pantothenic acid 0.829623 Phenylalanine 0.903993 Phosphorus, P 224.392523 Phytosterols 0.113208 Potassium, K 320.545732 Proline 0.974673 Protein 21.893994 Retinol 41.165109 Riboflavin 0.294857 Selenium, Se 34.834268 Serine 0.915769 Sodium, Na 457.146341 Sucrose 0.243919 Sugars, total 0.309889 Theobromine 0.000000 Thiamin 0.530474 Threonine 0.976849 Tocopherol, beta 0.003721 Tocopherol, delta 0.001395 Tocopherol, gamma 0.039535 Total lipid (fat) 13.481463 Tryptophan 0.245072
  69. 26/01/2013 08:36 Page 69 of 163 http://nbviewer.ipython.org/3904875/ Tyrosine 0.777056 Valine

    1.137954 Vitamin A, IU 134.396341 Vitamin A, RAE 41.152648 Vitamin B-12 1.010966 Vitamin B-12, added 0.000000 Vitamin B-6 0.423218 Vitamin C, total ascorbic acid 1.248476 Vitamin D 32.776042 Vitamin D (D2 + D3) 0.819271 Vitamin D3 (cholecalciferol) 0.819271 Vitamin E (alpha-tocopherol) 0.221818 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 0.004348 Water 62.438354 Zinc, Zn 2.413720 Poultry Products Alanine 1.389477 Alcohol, ethyl 0.000000 Arginine 1.525467 Ash 1.113793 Aspartic acid 2.138056 Betaine 7.097959 Caffeine 0.000000 Calcium, Ca 17.396552 Carbohydrate, by difference 0.852328 Carotene, alpha 0.200000 Carotene, beta 0.533333 Cholesterol 94.836207 Choline, total 74.763265 Copper, Cu 0.130643 Cryptoxanthin, beta 0.200000 Cystine 0.282654 Dihydrophylloquinone 0.000000 Energy 201.750000 Fatty acids, total monounsaturated 4.209991 Fatty acids, total polyunsaturated 2.413759 Fatty acids, total saturated 3.139198 Fatty acids, total trans 0.119909 Fatty acids, total trans-monoenoic 0.167500 Fatty acids, total trans-polyenoic 0.044500 Fiber, total dietary 0.013393 Fluoride, F 11.025000 Folate, DFE 27.286957 Folate, food 26.060870 Folate, total 26.782609 Folic acid 0.721739 Fructose 0.000000 Galactose 0.000000 Glucose (dextrose) 0.000000 Glutamic acid 3.517748 Glycine 1.383907 Histidine 0.682561 Hydroxyproline 0.243900 Iron, Fe 2.081810 Isoleucine 1.149673 Lactose 0.000000 Leucine 1.767972 Lutein + zeaxanthin 1.383333 Lycopene 0.350000 Lysine 1.982953 Magnesium, Mg 21.747826 Maltose 0.000000 Manganese, Mn 0.033364
  70. 26/01/2013 08:36 Page 70 of 163 http://nbviewer.ipython.org/3904875/ Menaquinone-4 24.350000 Methionine

    0.632607 Niacin 5.560517 Pantothenic acid 1.091402 Phenylalanine 0.913028 Phosphorus, P 192.226087 Phytosterols 0.000000 Potassium, K 240.373913 Proline 1.092598 Protein 23.469569 Retinol 320.200000 Riboflavin 0.252661 Selenium, Se 29.037069 Serine 0.925654 Sodium, Na 178.775862 Starch 0.000000 Sucrose 0.020000 Sugars, total 0.006500 Theobromine 0.000000 Thiamin 0.083896 Threonine 0.978449 Tocopherol, beta 0.000000 Tocopherol, delta 0.003333 Tocopherol, gamma 0.135000 Total lipid (fat) 10.981379 Tryptophan 0.258738 Tyrosine 0.813178 Valine 1.163776 Vitamin A, IU 1067.756522 Vitamin A, RAE 319.139130 Vitamin B-12 1.385391 Vitamin B-12, added 0.000000 Vitamin B-6 0.377435 Vitamin C, total ascorbic acid 0.955172 Vitamin D 6.612245 Vitamin D (D2 + D3) 0.157143 Vitamin D3 (cholecalciferol) 0.141304 Vitamin E (alpha-tocopherol) 0.349508 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 2.830357 Water 63.857328 Zinc, Zn 2.549130 Restaurant Foods Alanine 0.612429 Alcohol, ethyl 0.000000 Arginine 0.713612 Ash 2.004902 Aspartic acid 1.063449 Beta-sitosterol 25.600000 Betaine 5.223077 Caffeine 0.000000 Calcium, Ca 74.725490 Campesterol 10.400000 Carbohydrate, by difference 20.340392 Carotene, alpha 83.375000 Carotene, beta 181.250000 Cholesterol 38.133333 Choline, total 28.853846 Copper, Cu 0.088039 Cryptoxanthin, beta 15.250000 Cystine 0.138061 Dihydrophylloquinone 0.933333 Energy 230.862745 Fatty acids, total monounsaturated 3.271490
  71. 26/01/2013 08:36 Page 71 of 163 http://nbviewer.ipython.org/3904875/ Fatty acids, total

    polyunsaturated 4.091627 Fatty acids, total saturated 2.935647 Fatty acids, total trans 0.209275 Fatty acids, total trans-monoenoic 0.151353 Fatty acids, total trans-polyenoic 0.057941 Fiber, total dietary 1.953333 Folate, DFE 12.000000 Folate, food 6.000000 Folate, total 9.333333 Folic acid 3.333333 Fructose 0.315000 Galactose 0.032727 Glucose (dextrose) 0.342647 Glutamic acid 2.288918 Glycine 0.512531 Histidine 0.355449 Hydroxyproline 0.000000 Iron, Fe 1.150784 Isoleucine 0.544163 Lactose 0.382353 Leucine 0.991857 Lutein + zeaxanthin 132.750000 Lycopene 65.750000 Lysine 0.854816 Magnesium, Mg 24.156863 Maltose 0.234706 Manganese, Mn 0.217000 Menaquinone-4 2.400000 Methionine 0.283224 Niacin 2.875431 Pantothenic acid 0.548933 Phenylalanine 0.531020 Phosphorus, P 189.980392 Potassium, K 237.745098 Proline 0.696714 Protein 11.715882 Retinol 24.250000 Riboflavin 0.099020 Selenium, Se 9.584000 Serine 0.512878 Sodium, Na 463.137255 Starch 18.205238 Stigmasterol 7.000000 Sucrose 1.450882 Sugars, total 2.732121 Theobromine 0.000000 Thiamin 0.088824 Threonine 0.488694 Tocopherol, beta 0.093714 Tocopherol, delta 1.224286 Tocopherol, gamma 3.845429 Total lipid (fat) 11.400196 Tryptophan 0.148224 Tyrosine 0.394204 Valine 0.720673 Vitamin A, IU 213.181818 Vitamin A, RAE 29.045455 Vitamin B-12 0.735750 Vitamin B-12, added 0.000000 Vitamin B-6 0.185863 Vitamin C, total ascorbic acid 4.560000 Vitamin D 5.500000 Vitamin D (D2 + D3) 0.150000
  72. 26/01/2013 08:36 Page 72 of 163 http://nbviewer.ipython.org/3904875/ Vitamin D3 (cholecalciferol)

    0.150000 Vitamin E (alpha-tocopherol) 0.903714 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 19.463415 Water 54.552549 Zinc, Zn 1.378627 Sausages and Luncheon Meats Alanine 0.986258 Alcohol, ethyl 0.000000 Arginine 1.031615 Ash 3.329459 Aspartic acid 1.432470 Betaine 4.867391 Caffeine 0.000000 Calcium, Ca 31.477064 Carbohydrate, by difference 3.396396 Carotene, alpha 1.181818 Carotene, beta 3.230769 Cholesterol 66.837838 Choline, total 58.813043 Copper, Cu 0.115000 Cryptoxanthin, beta 1.715909 Cystine 0.189758 Dihydrophylloquinone 0.000000 Energy 236.099099 Fatty acids, total monounsaturated 7.741651 Fatty acids, total polyunsaturated 1.757642 Fatty acids, total saturated 6.158476 Fatty acids, total trans 0.493214 Fatty acids, total trans-monoenoic 0.162000 Fatty acids, total trans-polyenoic 0.056333 Fiber, total dietary 0.105455 Fluoride, F 32.875000 Folate, DFE 6.980198 Folate, food 6.772277 Folate, total 6.891089 Folic acid 0.128713 Fructose 0.001667 Galactose 0.000000 Glucose (dextrose) 0.580000 Glutamic acid 2.451182 Glycine 1.050818 Histidine 0.487303 Hydroxyproline 0.172529 Iron, Fe 1.776273 Isoleucine 0.738045 Lactose 0.778333 Leucine 1.201985 Lutein + zeaxanthin 2.204545 Lycopene 1.170455 Lysine 1.310091 Magnesium, Mg 17.435185 Maltose 0.105000 Manganese, Mn 0.070875 Menaquinone-4 10.600000 Methionine 0.391697 Niacin 3.556551 Pantothenic acid 0.630133 Phenylalanine 0.617606 Phosphorus, P 167.660377 Phytosterols 0.769231 Potassium, K 260.157407 Proline 0.840455 Protein 15.861351
  73. 26/01/2013 08:36 Page 73 of 163 http://nbviewer.ipython.org/3904875/ Retinol 67.232323 Riboflavin

    0.207500 Selenium, Se 17.203261 Serine 0.649636 Sodium, Na 1007.378378 Starch 1.630000 Sucrose 0.073333 Sugars, total 0.866162 Theobromine 0.000000 Thiamin 0.217990 Threonine 0.662212 Tocopherol, beta 0.000000 Tocopherol, delta 0.000000 Tocopherol, gamma 0.089412 Total lipid (fat) 17.534595 Tryptophan 0.155530 Tyrosine 0.526788 Valine 0.772091 Vitamin A, IU 466.736364 Vitamin A, RAE 101.049505 Vitamin B-12 1.576020 Vitamin B-12, added 0.000000 Vitamin B-6 0.246786 Vitamin C, total ascorbic acid 3.700917 Vitamin D 24.188679 Vitamin D (D2 + D3) 0.605660 Vitamin D3 (cholecalciferol) 0.480000 Vitamin E (alpha-tocopherol) 0.247273 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 1.086441 Water 59.957838 Zinc, Zn 2.247130 Snacks Alanine 0.560949 Alcohol, ethyl 0.000000 Arginine 0.678878 Ash 2.640185 Aspartic acid 0.969357 Beta-sitosterol 76.000000 Betaine 8.982143 Caffeine 0.629213 Calcium, Ca 148.835443 Campesterol 32.500000 Carbohydrate, by difference 64.350556 Carotene, alpha 12.845238 Carotene, beta 205.146067 Cholesterol 4.986842 Choline, total 28.797701 Copper, Cu 0.331520 Cryptoxanthin, beta 7.226190 Cystine 0.156337 Dihydrophylloquinone 6.634375 Energy 444.500000 Fatty acids, total monounsaturated 5.850785 Fatty acids, total polyunsaturated 5.781362 Fatty acids, total saturated 4.952113 Fatty acids, total trans 0.361577 Fatty acids, total trans-monoenoic 0.185150 Fatty acids, total trans-polyenoic 0.087632 Fiber, total dietary 5.497931 Fluoride, F 14.232143 Folate, DFE 129.278146 Folate, food 34.305195 Folate, total 89.376623
  74. 26/01/2013 08:36 Page 74 of 163 http://nbviewer.ipython.org/3904875/ Folic acid 54.895425

    Fructose 0.925714 Galactose 0.220714 Glucose (dextrose) 1.355862 Glutamic acid 2.018347 Glycine 0.635153 Histidine 0.239255 Hydroxyproline 0.009000 Iron, Fe 2.890253 Isoleucine 0.383398 Lactose 0.329310 Leucine 0.812571 Lutein + zeaxanthin 221.987952 Lycopene 88.313253 Lysine 0.430571 Magnesium, Mg 92.896774 Maltose 1.575556 Manganese, Mn 1.216556 Menaquinone-4 0.000000 Methionine 0.166296 Niacin 5.418703 Pantothenic acid 1.831557 Phenylalanine 0.472735 Phosphorus, P 232.474026 Phytosterols 51.411765 Potassium, K 406.562914 Proline 0.743265 Protein 9.779012 Retinol 43.972028 Riboflavin 0.351903 Selenium, Se 11.034677 Serine 0.485000 Sodium, Na 454.716049 Starch 37.993438 Stigmasterol 9.000000 Sucrose 2.852759 Sugars, total 15.116019 Theobromine 6.172414 Thiamin 0.376792 Threonine 0.356602 Tocopherol, beta 0.041724 Tocopherol, delta 0.588519 Tocopherol, gamma 2.933704 Total lipid (fat) 17.363704 Tryptophan 0.105571 Tyrosine 0.341765 Valine 0.496388 Vitamin A, IU 528.006369 Vitamin A, RAE 54.059603 Vitamin B-12 0.780800 Vitamin B-12, added 0.440000 Vitamin B-6 0.483764 Vitamin C, total ascorbic acid 19.527673 Vitamin D 11.178571 Vitamin D (D2 + D3) 0.279762 Vitamin D3 (cholecalciferol) 0.083333 Vitamin E (alpha-tocopherol) 5.940652 Vitamin E, added 1.335412 Vitamin K (phylloquinone) 15.103371 Water 5.417531 Zinc, Zn 2.211039 Soups, Sauces, and Gravies Alanine 0.136185 Alcohol, ethyl 0.002878
  75. 26/01/2013 08:36 Page 75 of 163 http://nbviewer.ipython.org/3904875/ Arginine 0.171778 Ash

    2.508400 Aspartic acid 0.254963 Betaine 1.472727 Caffeine 0.000000 Calcium, Ca 29.647510 Carbohydrate, by difference 13.500291 Carotene, alpha 68.201550 Carotene, beta 290.105263 Cholesterol 4.698885 Choline, total 13.266667 Copper, Cu 0.099994 Cryptoxanthin, beta 4.604651 Cystine 0.044808 Dihydrophylloquinone 0.000000 Energy 84.105455 Fatty acids, total monounsaturated 0.903395 Fatty acids, total polyunsaturated 0.510846 Fatty acids, total saturated 0.720786 Fatty acids, total trans 0.002081 Fatty acids, total trans-monoenoic 0.000500 Fatty acids, total trans-polyenoic 0.000000 Fiber, total dietary 1.194737 Fluoride, F 18.284000 Folate, DFE 20.662338 Folate, food 11.224359 Folate, total 16.647436 Folic acid 5.474026 Fructose 1.410455 Galactose 0.012941 Glucose (dextrose) 1.392273 Glutamic acid 0.976333 Glycine 0.125259 Histidine 0.076111 Hydroxyproline 0.018000 Iron, Fe 1.021241 Isoleucine 0.132185 Lactose 0.127500 Leucine 0.236333 Lutein + zeaxanthin 177.815385 Lycopene 982.007692 Lysine 0.151741 Magnesium, Mg 15.596154 Maltose 0.166818 Manganese, Mn 0.157255 Menaquinone-4 0.566667 Methionine 0.052667 Niacin 1.326821 Pantothenic acid 0.211285 Phenylalanine 0.140852 Phosphorus, P 54.089744 Phytosterols 0.500000 Potassium, K 211.255000 Proline 0.264815 Protein 2.783855 Retinol 3.756579 Riboflavin 0.155250 Selenium, Se 4.347945 Serine 0.147481 Sodium, Na 737.458182 Starch 18.850000 Sucrose 1.948696 Sugars, total 4.271475
  76. 26/01/2013 08:36 Page 76 of 163 http://nbviewer.ipython.org/3904875/ Theobromine 0.000000 Thiamin

    0.134205 Threonine 0.119593 Tocopherol, beta 0.023636 Tocopherol, delta 0.060000 Tocopherol, gamma 0.422143 Total lipid (fat) 2.207855 Tryptophan 0.032000 Tyrosine 0.102111 Valine 0.157296 Vitamin A, IU 493.473485 Vitamin A, RAE 28.019481 Vitamin B-12 0.124808 Vitamin B-12, added 0.000000 Vitamin B-6 0.107788 Vitamin C, total ascorbic acid 5.793846 Vitamin D 1.237705 Vitamin D (D2 + D3) 0.029508 Vitamin D3 (cholecalciferol) 0.244444 Vitamin E (alpha-tocopherol) 0.429104 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 5.960465 Water 79.006291 Zinc, Zn 0.467564 Spices and Herbs Alanine 0.531779 Alcohol, ethyl 0.000000 Arginine 0.691673 Ash 4.047863 Aspartic acid 1.252154 Betaine 2.100000 Caffeine 0.000000 Calcium, Ca 516.444444 Carbohydrate, by difference 14.145641 Carotene, alpha 92.522727 Carotene, beta 1591.700000 Cholesterol 54.424779 Choline, total 25.675294 Copper, Cu 0.192581 Cryptoxanthin, beta 332.477273 Cystine 0.122510 Dihydrophylloquinone 0.000000 Energy 260.923077 Fatty acids, total monounsaturated 5.527824 Fatty acids, total polyunsaturated 1.229667 Fatty acids, total saturated 10.229598 Fatty acids, total trans 0.000000 Fatty acids, total trans-monoenoic 0.000000 Fiber, total dietary 6.231304 Fluoride, F 11.742857 Folate, DFE 28.629630 Folate, food 28.629630 Folate, total 28.629630 Folic acid 0.000000 Fructose 1.726452 Galactose 0.054643 Glucose (dextrose) 1.456176 Glutamic acid 3.298875 Glycine 0.411231 Histidine 0.522231 Hydroxyproline 0.000000 Iron, Fe 5.410684 Isoleucine 0.797406 Lactose 1.443529
  77. 26/01/2013 08:36 Page 77 of 163 http://nbviewer.ipython.org/3904875/ Leucine 1.436396 Lutein

    + zeaxanthin 810.470588 Lycopene 0.715909 Lysine 1.313660 Magnesium, Mg 68.341880 Maltose 0.084194 Manganese, Mn 0.795419 Menaquinone-4 5.150000 Methionine 0.393231 Niacin 1.465894 Pantothenic acid 0.445220 Phenylalanine 0.811298 Phosphorus, P 313.666667 Phytosterols 74.037037 Potassium, K 519.572650 Proline 1.663904 Protein 15.027265 Retinol 138.637168 Riboflavin 0.373919 Selenium, Se 10.872222 Serine 0.823529 Sodium, Na 490.136752 Starch 0.500000 Sucrose 0.580645 Sugars, total 3.118804 Theobromine 0.000000 Thiamin 0.092168 Threonine 0.584679 Tocopherol, beta 0.087143 Tocopherol, delta 0.010000 Tocopherol, gamma 1.190000 Total lipid (fat) 17.751538 Tryptophan 0.223472 Tyrosine 0.801981 Valine 0.991123 Vitamin A, IU 3010.324786 Vitamin A, RAE 262.222222 Vitamin B-12 0.743363 Vitamin B-12, added 0.000000 Vitamin B-6 0.313673 Vitamin C, total ascorbic acid 9.492308 Vitamin D 14.234694 Vitamin D (D2 + D3) 0.361224 Vitamin D3 (cholecalciferol) 0.536364 Vitamin E (alpha-tocopherol) 3.086818 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 93.327273 Water 48.757179 Zinc, Zn 2.420171 Sweets Adjusted Protein 12.900000 Alanine 0.386580 Alcohol, ethyl 0.000000 Arginine 0.375914 Ash 1.417679 Aspartic acid 0.461513 Beta-sitosterol 46.222222 Betaine 1.182353 Caffeine 14.099585 Calcium, Ca 102.091445 Campesterol 7.222222 Carbohydrate, by difference 55.646774 Carotene, alpha 0.255102 Carotene, beta 8.659091
  78. 26/01/2013 08:36 Page 78 of 163 http://nbviewer.ipython.org/3904875/ Cholesterol 9.282738 Choline,

    total 13.595480 Copper, Cu 0.241821 Cryptoxanthin, beta 0.517766 Cystine 0.036790 Dihydrophylloquinone 1.273333 Energy 325.296188 Fatty acids, total monounsaturated 3.098187 Fatty acids, total polyunsaturated 1.158424 Fatty acids, total saturated 5.738120 Fatty acids, total trans 0.212476 Fatty acids, total trans-monoenoic 0.157667 Fatty acids, total trans-polyenoic 0.024667 Fiber, total dietary 2.258284 Fluoride, F 30.853571 Folate, DFE 9.011628 Folate, food 11.338346 Folate, total 11.850365 Folic acid 0.361538 Fructose 2.543200 Galactose 0.155500 Glucose (dextrose) 2.798000 Glutamic acid 0.837000 Glycine 0.730073 Histidine 0.088667 Hydroxyproline 0.000000 Iron, Fe 1.175924 Isoleucine 0.180840 Lactose 1.450435 Leucine 0.316309 Lutein + zeaxanthin 8.178571 Lycopene 0.000000 Lysine 0.294605 Magnesium, Mg 36.784946 Maltose 0.515833 Manganese, Mn 0.303023 Menaquinone-4 0.477778 Methionine 0.075086 Niacin 0.613964 Pantothenic acid 0.225126 Phenylalanine 0.212111 Phosphorus, P 131.164912 Phytosterols 5.357143 Potassium, K 215.662021 Proline 0.617488 Protein 4.342111 Retinol 22.272374 Riboflavin 0.109178 Selenium, Se 2.840074 Serine 0.231390 Sodium, Na 265.480938 Starch 7.486250 Stigmasterol 18.333333 Sucrose 29.261154 Sugars, total 41.338723 Theobromine 108.683544 Thiamin 0.043396 Threonine 0.169975 Tocopherol, beta 0.008667 Tocopherol, delta 0.420952 Tocopherol, gamma 2.458000 Total lipid (fat) 10.752845 Tryptophan 0.043160
  79. 26/01/2013 08:36 Page 79 of 163 http://nbviewer.ipython.org/3904875/ Tyrosine 0.131741 Valine

    0.247741 Vitamin A, IU 103.155689 Vitamin A, RAE 20.757895 Vitamin B-12 0.185977 Vitamin B-12, added 0.000240 Vitamin B-6 0.065058 Vitamin C, total ascorbic acid 4.850898 Vitamin D 5.025641 Vitamin D (D2 + D3) 0.125128 Vitamin D3 (cholecalciferol) 0.314286 Vitamin E (alpha-tocopherol) 0.829652 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 2.149746 Water 28.042136 Zinc, Zn 0.743369 Vegetables and Vegetable Products Adjusted Protein 2.180000 Alanine 0.132387 Alcohol, ethyl 0.000000 Arginine 0.159061 Ash 1.307943 Aspartic acid 0.334666 Beta-sitosterol 2.440000 Betaine 9.157368 Caffeine 0.000000 Calcium, Ca 49.445129 Campesterol 2.541667 Carbohydrate, by difference 12.308313 Carotene, alpha 197.988095 Carotene, beta 1560.998066 Cholesterol 0.677987 Choline, total 18.972624 Copper, Cu 0.163878 Cryptoxanthin, beta 54.506000 Cystine 0.033489 Dihydrophylloquinone 1.929730 Energy 62.527094 Fatty acids, total monounsaturated 0.279096 Fatty acids, total polyunsaturated 0.283151 Fatty acids, total saturated 0.234461 Fatty acids, total trans 0.068233 Fatty acids, total trans-monoenoic 0.035563 Fatty acids, total trans-polyenoic 0.003938 Fiber, total dietary 2.963597 Fluoride, F 20.691379 Folate, DFE 44.919897 Folate, food 44.276730 Folate, total 44.407547 Folic acid 0.134367 Fructose 0.838728 Galactose 0.023072 Glucose (dextrose) 0.975434 Glutamic acid 0.455094 Glycine 0.104742 Histidine 0.061272 Hydroxyproline 0.000000 Iron, Fe 1.340877 Isoleucine 0.116851 Lactose 0.039337 Leucine 0.182534 Lutein + zeaxanthin 1451.333333 Lycopene 710.082828 Lysine 0.153640
  80. 26/01/2013 08:36 Page 80 of 163 http://nbviewer.ipython.org/3904875/ In [221]: pd.set_printoptions(notebook_repr_html=True,

    max_columns=25) In [226]: data[data.nname == 'Caffeine'].sort_index(by='value').irow(-1)[['fname', 'value']] In [227]: grouped = data.groupby(['fgroup', 'nname']) def get_most_dense_food(group): return group.sort_index(by='value').irow(-1)[['fname', 'value']] Magnesium, Mg 32.060226 Maltose 0.166527 Manganese, Mn 0.345812 Menaquinone-4 0.054839 Methionine 0.037252 Niacin 1.224798 Pantothenic acid 0.405204 Phenylalanine 0.114611 Phosphorus, P 59.626098 Phytosterols 13.587500 Potassium, K 356.539506 Proline 0.121923 Protein 2.815813 Retinol 1.188557 Riboflavin 0.136398 Selenium, Se 1.630809 Serine 0.123642 Sodium, Na 156.209360 Starch 5.940673 Stigmasterol 0.360000 Sucrose 0.941647 Sugars, total 3.357412 Theobromine 0.000000 Thiamin 0.108723 Threonine 0.107237 Tocopherol, beta 0.007589 Tocopherol, delta 0.151560 Tocopherol, gamma 0.476241 Total lipid (fat) 0.932057 Tryptophan 0.032476 Tyrosine 0.084657 Valine 0.138723 Vitamin A, IU 2575.497500 Vitamin A, RAE 128.103713 Vitamin B-12 0.002769 Vitamin B-12, added 0.000000 Vitamin B-6 0.180557 Vitamin C, total ascorbic acid 26.305198 Vitamin D 3.771176 Vitamin D (D2 + D3) 0.094430 Vitamin D2 (ergocalciferol) 3.419048 Vitamin D3 (cholecalciferol) 0.092857 Vitamin E (alpha-tocopherol) 0.663795 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 75.988957 Water 82.638855 Zinc, Zn 0.483308 Name: value, Length: 2246 Out[226]: fname Tea, instant, unsweetened, powder value 3680 Name: 206840
  81. 26/01/2013 08:36 Page 81 of 163 http://nbviewer.ipython.org/3904875/ result = grouped.apply(get_most_dense_food)

    In [241]: fig, axes = plt.subplots(nrows=2, ncols=1, figsize=(5, 15)) result['Zinc, Zn'].order().plot(kind='barh', ax=axes[0]) result['Protein'].order().plot(kind='barh', ax=axes[1]) Out[241]: <matplotlib.axes.AxesSubplot at 0x11a67e350>
  82. 26/01/2013 08:36 Page 82 of 163 http://nbviewer.ipython.org/3904875/ In [233]: grouped

    = data.groupby(['fgroup', 'nname']) result = grouped.value.median() result = result.unstack('nname') result Out[233]: <class 'pandas.core.frame.DataFrame'> Index: 25 entries, Baby Foods to Vegetables and Vegetable Products Data columns: Adjusted Protein 2 non-null values Alanine 25 non-null values Alcohol, ethyl 25 non-null values Arginine 25 non-null values Ash 25 non-null values Aspartic acid 25 non-null values Beta-sitosterol 12 non-null values Betaine 25 non-null values Caffeine 25 non-null values Calcium, Ca 25 non-null values Campesterol 12 non-null values Carbohydrate, by difference 25 non-null values Carotene, alpha 25 non-null values Carotene, beta 25 non-null values Cholesterol 25 non-null values Choline, total 25 non-null values Copper, Cu 25 non-null values Cryptoxanthin, beta 25 non-null values Cystine 25 non-null values Dihydrophylloquinone 25 non-null values Energy 25 non-null values Fatty acids, total monounsaturated 25 non-null values Fatty acids, total polyunsaturated 25 non-null values Fatty acids, total saturated 25 non-null values Fatty acids, total trans 25 non-null values Fatty acids, total trans-monoenoic 23 non-null values Fatty acids, total trans-polyenoic 22 non-null values Fiber, total dietary 25 non-null values Fluoride, F 23 non-null values Folate, DFE 25 non-null values Folate, food 25 non-null values Folate, total 25 non-null values Folic acid 25 non-null values Fructose 25 non-null values Galactose 25 non-null values Glucose (dextrose) 25 non-null values Glutamic acid 25 non-null values Glycine 25 non-null values Histidine 25 non-null values Hydroxyproline 24 non-null values Iron, Fe 25 non-null values Isoleucine 25 non-null values Lactose 25 non-null values Leucine 25 non-null values Lutein + zeaxanthin 25 non-null values Lycopene 25 non-null values Lysine 25 non-null values Magnesium, Mg 25 non-null values Maltose 25 non-null values Manganese, Mn 25 non-null values Menaquinone-4 23 non-null values Methionine 25 non-null values Niacin 25 non-null values
  83. 26/01/2013 08:36 Page 83 of 163 http://nbviewer.ipython.org/3904875/ In [231]: result.xs('Caffeine',

    level=1).sort_index(by='value', ascending=False) Pantothenic acid 25 non-null values Phenylalanine 25 non-null values Phosphorus, P 25 non-null values Phytosterols 23 non-null values Potassium, K 25 non-null values Proline 25 non-null values Protein 25 non-null values Retinol 25 non-null values Riboflavin 25 non-null values Selenium, Se 25 non-null values Serine 25 non-null values Sodium, Na 25 non-null values Starch 23 non-null values Stigmasterol 12 non-null values Sucrose 25 non-null values Sugars, total 25 non-null values Theobromine 25 non-null values Thiamin 25 non-null values Threonine 25 non-null values Tocopherol, beta 25 non-null values Tocopherol, delta 25 non-null values Tocopherol, gamma 25 non-null values Total lipid (fat) 25 non-null values Tryptophan 25 non-null values Tyrosine 25 non-null values Valine 25 non-null values Vitamin A, IU 25 non-null values Vitamin A, RAE 25 non-null values Vitamin B-12 25 non-null values Vitamin B-12, added 25 non-null values Vitamin B-6 25 non-null values Vitamin C, total ascorbic acid 25 non-null values Vitamin D 25 non-null values Vitamin D (D2 + D3) 25 non-null values Vitamin D2 (ergocalciferol) 4 non-null values Vitamin D3 (cholecalciferol) 18 non-null values Vitamin E (alpha-tocopherol) 25 non-null values Vitamin E, added 25 non-null values Vitamin K (phylloquinone) 25 non-null values Water 25 non-null values Zinc, Zn 25 non-null values dtypes: float64(94) Out[231]: fname value fgroup Beverages Tea, instant, unsweetened, powder 3680 Sweets Candies, dark chocolate coated coffee beans 839 Dairy and Egg Products Beverage, instant breakfast powder, chocolate,... 52 Baked Products Cookies, graham crackers, chocolate-coated 46 Breakfast Cereals Cereals ready-to-eat, QUAKER, QUAKER COCOA BLASTS 21 Snacks Formulated bar, ZONE PERFECT CLASSIC CRUNCH BA... 11 Fast Foods Fast foods, cookies, chocolate chip 11 Legumes and Legume Products Soymilk, chocolate, nonfat, with added calcium... 2 Meals, Entrees, and Sidedishes Macaroni and cheese dinner with dry sauce mix,... 0
  84. 26/01/2013 08:36 Page 84 of 163 http://nbviewer.ipython.org/3904875/ In [229]: result

    Lamb, Veal, and Game Products Game meat, deer, top round, separable lean onl... 0 Fruits and Fruit Juices Cranberry juice, unsweetened 0 Finfish and Shellfish Products Turtle, green, raw 0 Fats and Oils Oil, corn, peanut, and olive 0 Ethnic Foods Yellow pond lily, Wocas, tuber, cooked (Pacifi... 0 Cereal Grains and Pasta Vital wheat gluten 0 Beef Products Beef, brisket, flat half, separable lean and f... 0 Baby Foods Babyfood, fruit supreme dessert 0 Spices and Herbs Vinegar, cider 0 Soups, Sauces, and Gravies Soup, ramen noodle, dry, any flavor, reduced f... 0 Sausages and Luncheon Meats Frankfurter, low sodium 0 Restaurant Foods Restaurant, Chinese, general tso's chicken 0 Poultry Products Turkey, light or dark meat, smoked, cooked, sk... 0 Pork Products Pork, cured, bacon, cooked, broiled, pan-fried... 0 Nut and Seed Products Seeds, sesame butter, tahini, type of kernels ... 0 Vegetables and Vegetable Products Celery flakes, dried 0 Out[229]: fname value fgroup nname Alanine Babyfood, meat, ham, junior 0.911 Alcohol, ethyl Babyfood, fruit supreme dessert 0 Arginine Babyfood, meat, ham, junior 1.022 Ash Baby food, fortified cereal bar, fruit filling 6.64 Aspartic acid Babyfood, meat, ham, junior 1.442 Beta-sitosterol Babyfood, mashed cheddar potatoes and broccoli... 0 Betaine Babyfood, cereal, oatmeal, dry 20.5 Caffeine Babyfood, fruit supreme dessert 0 Calcium, Ca Babyfood, cereal, oatmeal, with honey, dry 1154 Campesterol Babyfood, mashed cheddar potatoes and broccoli... 0 Carbohydrate, by difference Babyfood, rice and apples, dry 86.89 Carotene, alpha Babyfood, carrots and beef, strained 3716 Carotene, beta Babyfood, carrots, toddler 7156 Cholesterol Babyfood, cereal, with egg yolks, strained 63 Choline, total Infant formula, MEAD JOHNSON, ENFAMIL, with ir... 124 Copper, Cu Child formula, MEAD JOHNSON, PORTAGEN, with ir... 0.74
  85. 26/01/2013 08:36 Page 85 of 163 http://nbviewer.ipython.org/3904875/ In [214]: data.groupby(['fgroup',

    'nname']).value.max() Baby Foods Cryptoxanthin, beta Babyfood, juice, orange-carrot 135 Cystine Babyfood, cereal, mixed, dry 0.346 Dihydrophylloquinone Babyfood, yogurt, whole milk, with fruit, mult... 0 Energy Infant formula, PBM PRODUCTS, ULTRA BRIGHT BEG... 524 Fatty acids, total monounsaturated Babyfood, crackers, vegetable 15.779 Fatty acids, total polyunsaturated Infant formula, ABBOTT NUTRITION, SIMILAC, PM ... 10.835 Fatty acids, total saturated Child formula, MEAD JOHNSON, PORTAGEN, with ir... 19.186 Fatty acids, total trans Baby food, fortified cereal bar, fruit filling 0.019 Fiber, total dietary Babyfood, cereal, whole wheat, with apples, dry 12.2 Fluoride, F Babyfood, macaroni and cheese, toddler 68.4 Folate, DFE Infant formula, ABBOTT NUTRITION, SIMILAC, NEO... 218 Folate, food Infant formula, MEAD JOHNSON, ENFAMIL, ENFACAR... 128 Folate, total Infant formula, MEAD JOHNSON, ENFAMIL, ENFACAR... 128 Folic acid Infant formula, ABBOTT NUTRITION, SIMILAC, NEO... 128 Fructose Babyfood, dinner, apples and chicken, strained 5.1 Galactose Babyfood, plums, bananas and rice, strained 0.12 Glucose (dextrose) Infant formula, MEAD JOHNSON, ENFAMIL, LACTOFR... 57 Glutamic acid Babyfood, cereal, barley, dry 3.184 Glycine Babyfood, meat, ham, junior 0.866 Histidine Babyfood, meat, ham, junior 0.514 Hydroxyproline Babyfood, macaroni and cheese, toddler 0 Iron, Fe Babyfood, cereal, oatmeal, with honey, dry 67.23 Isoleucine Babyfood, meat, ham, junior 0.718 Lactose Infant formula, MEAD JOHNSON, ENFAMIL, with ir... 56 Leucine Babyfood, meat, ham, junior 1.208 Lutein + zeaxanthin Babyfood, vegetables, garden vegetable, strained 1374 Lycopene Babyfood, meat, beef with vegetables, toddler 1706 Lysine Babyfood, meat, ham, junior 1.283 Magnesium, Mg Babyfood, cereal, rice, dry 206 Maltose Babyfood, cereal, oatmeal, dry 2.86 Manganese, Mn Infant formula, ABBOTT NUTRITION, SIMILAC, NEO... 51.499 Menaquinone-4 Babyfood, dinner, broccoli and chicken, junior 4.1 Methionine Babyfood, meat, ham, junior 0.386 Out[214]: fgroup nname Baby Foods Alanine 0.911 Alcohol, ethyl 0.000 Arginine 1.022 Ash 6.640 Aspartic acid 1.442 Beta-sitosterol 0.000 Betaine 20.500 Caffeine 0.000 Calcium, Ca 1154.000 Campesterol 0.000 Carbohydrate, by difference 86.890 Carotene, alpha 3716.000 Carotene, beta 7156.000 Cholesterol 63.000 Choline, total 124.000 Copper, Cu 0.740 Cryptoxanthin, beta 135.000 Cystine 0.346 Dihydrophylloquinone 0.000 Energy 524.000 Fatty acids, total monounsaturated 15.779 Fatty acids, total polyunsaturated 10.835 Fatty acids, total saturated 19.186 Fatty acids, total trans 0.019 Fiber, total dietary 12.200 Fluoride, F 68.400 Folate, DFE 218.000 Folate, food 128.000 Folate, total 128.000
  86. 26/01/2013 08:36 Page 86 of 163 http://nbviewer.ipython.org/3904875/ Folic acid 128.000

    Fructose 5.100 Galactose 0.120 Glucose (dextrose) 57.000 Glutamic acid 3.184 Glycine 0.866 Histidine 0.514 Hydroxyproline 0.000 Iron, Fe 67.230 Isoleucine 0.718 Lactose 56.000 Leucine 1.208 Lutein + zeaxanthin 1374.000 Lycopene 1706.000 Lysine 1.283 Magnesium, Mg 206.000 Maltose 2.860 Manganese, Mn 51.499 Menaquinone-4 4.100 Methionine 0.386 Niacin 36.292 Pantothenic acid 4.200 Phenylalanine 0.672 Phosphorus, P 733.000 Potassium, K 731.000 Proline 1.445 Protein 16.500 Retinol 1110.000 Riboflavin 3.710 Selenium, Se 64.700 Serine 0.582 Sodium, Na 571.000 Starch 53.230 Stigmasterol 0.000 Sucrose 4.400 Sugars, total 68.650 Theobromine 0.000 Thiamin 3.780 Threonine 0.656 Tocopherol, beta 0.210 Tocopherol, delta 1.790 Tocopherol, gamma 1.690 Total lipid (fat) 28.870 Tryptophan 0.158 Tyrosine 0.506 Valine 0.779 Vitamin A, IU 14710.000 Vitamin A, RAE 1110.000 Vitamin B-12 2.900 Vitamin B-12, added 2.900 Vitamin B-6 1.105 Vitamin C, total ascorbic acid 179.900 Vitamin D 390.000 Vitamin D (D2 + D3) 9.800 Vitamin D3 (cholecalciferol) 7.100 Vitamin E (alpha-tocopherol) 13.400 Vitamin E, added 13.400 Vitamin K (phylloquinone) 76.300 Water 96.440 Zinc, Zn 7.500 Baked Products Alanine 2.320 Alcohol, ethyl 0.000 Arginine 2.030
  87. 26/01/2013 08:36 Page 87 of 163 http://nbviewer.ipython.org/3904875/ Ash 71.800 Aspartic

    acid 4.150 Beta-sitosterol 34.000 Betaine 226.700 Caffeine 46.000 Calcium, Ca 7364.000 Campesterol 13.000 Carbohydrate, by difference 85.100 Carotene, alpha 686.000 Carotene, beta 4752.000 Cholesterol 221.000 Choline, total 128.400 Copper, Cu 0.770 Cryptoxanthin, beta 25.000 Cystine 0.500 Dihydrophylloquinone 64.300 Energy 558.000 Fatty acids, total monounsaturated 21.597 Fatty acids, total polyunsaturated 22.228 Fatty acids, total saturated 20.100 Fatty acids, total trans 6.800 Fatty acids, total trans-monoenoic 3.210 Fatty acids, total trans-polyenoic 0.758 Fiber, total dietary 26.900 Fluoride, F 69.000 Folate, DFE 2340.000 Folate, food 2340.000 Folate, total 2340.000 Folic acid 168.000 Fructose 5.700 Galactose 0.070 Glucose (dextrose) 15.650 Glutamic acid 6.470 Glycine 1.930 Histidine 0.910 Hydroxyproline 0.000 Iron, Fe 12.570 Isoleucine 1.890 Lactose 7.740 Leucine 2.920 Lutein + zeaxanthin 401.000 Lycopene 348.000 Lysine 3.280 Magnesium, Mg 190.000 Maltose 4.980 Manganese, Mn 5.366 Menaquinone-4 4.500 Methionine 0.590 Niacin 40.200 Pantothenic acid 13.500 Phenylalanine 1.750 Phosphorus, P 9918.000 Phytosterols 102.000 Potassium, K 16500.000 Proline 1.650 Protein 40.440 Retinol 467.000 Riboflavin 4.000 Selenium, Se 75.100 Serine 1.980 Sodium, Na 27360.000 Starch 67.300 Stigmasterol 11.000
  88. 26/01/2013 08:36 Page 88 of 163 http://nbviewer.ipython.org/3904875/ Sucrose 44.530 Sugars,

    total 70.650 Theobromine 430.000 Thiamin 10.990 Threonine 1.990 Tocopherol, beta 0.770 Tocopherol, delta 4.120 Tocopherol, gamma 14.110 Total lipid (fat) 38.500 Tryptophan 0.540 Tyrosine 1.130 Valine 2.310 Vitamin A, IU 8020.000 Vitamin A, RAE 467.000 Vitamin B-12 2.930 Vitamin B-12, added 2.830 Vitamin B-6 1.500 Vitamin C, total ascorbic acid 13.600 Vitamin D 47.000 Vitamin D (D2 + D3) 1.200 Vitamin E (alpha-tocopherol) 3.580 Vitamin E, added 0.000 Vitamin K (phylloquinone) 50.000 Water 69.000 Zinc, Zn 9.970 Beef Products Alanine 2.254 Alcohol, ethyl 0.000 Arginine 2.336 Ash 6.700 Aspartic acid 3.300 Betaine 33.100 Caffeine 0.000 Calcium, Ca 485.000 Carbohydrate, by difference 7.890 Carotene, alpha 11.000 Carotene, beta 232.000 Cholesterol 3100.000 Choline, total 513.200 Copper, Cu 14.588 Cryptoxanthin, beta 21.000 Cystine 0.727 Dihydrophylloquinone 0.000 Energy 854.000 Fatty acids, total monounsaturated 31.520 Fatty acids, total polyunsaturated 4.660 Fatty acids, total saturated 52.300 Fatty acids, total trans 1.826 Fatty acids, total trans-monoenoic 1.520 Fatty acids, total trans-polyenoic 0.136 Fiber, total dietary 1.400 Fluoride, F 22.400 Folate, DFE 290.000 Folate, food 290.000 Folate, total 290.000 Folic acid 0.000 Fructose 0.000 Galactose 0.000 Glucose (dextrose) 0.000 Glutamic acid 5.463 Glycine 2.614 Histidine 1.237 Hydroxyproline 0.566 Iron, Fe 44.550
  89. 26/01/2013 08:36 Page 89 of 163 http://nbviewer.ipython.org/3904875/ Isoleucine 1.643 Lactose

    0.000 Leucine 2.873 Lutein + zeaxanthin 0.000 Lycopene 23.000 Lysine 3.053 Magnesium, Mg 49.000 Maltose 0.000 Manganese, Mn 0.356 Menaquinone-4 7.600 Methionine 0.978 Niacin 17.525 Pantothenic acid 7.173 Phenylalanine 1.515 Phosphorus, P 497.000 Phytosterols 0.000 Potassium, K 484.000 Proline 2.254 Protein 36.120 Retinol 9428.000 Riboflavin 3.425 Selenium, Se 168.000 Serine 1.423 Sodium, Na 2253.000 Sucrose 0.000 Sugars, total 0.000 Theobromine 0.000 Thiamin 0.357 Threonine 1.578 Tocopherol, beta 0.020 Tocopherol, delta 0.010 Tocopherol, gamma 0.070 Total lipid (fat) 94.000 Tryptophan 0.405 Tyrosine 1.214 Valine 1.792 Vitamin A, IU 31714.000 Vitamin A, RAE 9442.000 Vitamin B-12 83.130 Vitamin B-12, added 0.000 Vitamin B-6 1.083 Vitamin C, total ascorbic acid 50.300 Vitamin D 49.000 Vitamin D (D2 + D3) 1.200 Vitamin D3 (cholecalciferol) 1.200 Vitamin E (alpha-tocopherol) 1.960 Vitamin E, added 0.000 Vitamin K (phylloquinone) 17.500 Water 84.160 Zinc, Zn 12.280 Beverages Alanine 0.335 Alcohol, ethyl 42.500 Arginine 0.123 Ash 16.040 Aspartic acid 0.478 Betaine 3.800 Caffeine 3680.000 Calcium, Ca 3098.000 Carbohydrate, by difference 99.100 Carotene, alpha 144.000 Carotene, beta 1253.000 Cholesterol 58.000 Choline, total 175.600
  90. 26/01/2013 08:36 Page 90 of 163 http://nbviewer.ipython.org/3904875/ Copper, Cu 0.909

    Cryptoxanthin, beta 97.000 Cystine 0.202 Dihydrophylloquinone 0.000 Energy 509.000 Fatty acids, total monounsaturated 14.001 Fatty acids, total polyunsaturated 2.419 Fatty acids, total saturated 25.128 Fatty acids, total trans 0.411 Fatty acids, total trans-monoenoic 0.367 Fatty acids, total trans-polyenoic 0.044 Fiber, total dietary 23.300 Fluoride, F 584.000 Folate, DFE 103.000 Folate, food 103.000 Folate, total 103.000 Folic acid 18.000 Fructose 21.990 Galactose 0.000 Glucose (dextrose) 20.000 Glutamic acid 2.030 Glycine 0.441 Histidine 0.165 Hydroxyproline 0.000 Iron, Fe 17.380 Isoleucine 0.206 Lactose 3.410 Leucine 0.478 Lutein + zeaxanthin 194.000 Lycopene 2982.000 Lysine 0.270 Magnesium, Mg 327.000 Maltose 0.460 Manganese, Mn 133.000 Menaquinone-4 0.000 Methionine 0.100 Niacin 80.000 Pantothenic acid 4.530 Phenylalanine 0.262 Phosphorus, P 1630.000 Phytosterols 0.000 Potassium, K 6040.000 Proline 0.425 Protein 25.100 Retinol 6006.000 Riboflavin 6.800 Selenium, Se 64.100 Serine 0.228 Sodium, Na 2727.000 Starch 32.100 Sucrose 74.450 Sugars, total 97.300 Theobromine 833.000 Thiamin 4.233 Threonine 1.102 Tocopherol, beta 0.030 Tocopherol, delta 0.170 Tocopherol, gamma 0.520 Total lipid (fat) 29.100 Tryptophan 0.365 Tyrosine 0.165 Valine 0.276 Vitamin A, IU 20000.000
  91. 26/01/2013 08:36 Page 91 of 163 http://nbviewer.ipython.org/3904875/ Vitamin A, RAE

    6006.000 Vitamin B-12 2.780 Vitamin B-12, added 2.500 Vitamin B-6 8.000 Vitamin C, total ascorbic acid 2400.000 Vitamin D 952.000 Vitamin D (D2 + D3) 23.800 Vitamin D2 (ergocalciferol) 1.000 Vitamin E (alpha-tocopherol) 1.900 Vitamin E, added 1.900 Vitamin K (phylloquinone) 8.100 Water 100.000 Zinc, Zn 6.820 Breakfast Cereals Alanine 1.858 Alcohol, ethyl 0.000 Arginine 2.348 Ash 12.400 Aspartic acid 2.604 Betaine 360.000 Caffeine 21.000 Calcium, Ca 3333.000 Carbohydrate, by difference 93.700 Carotene, alpha 63.000 Carotene, beta 2267.000 Cholesterol 17.000 Choline, total 178.600 Copper, Cu 1.136 Cryptoxanthin, beta 66.000 Cystine 0.576 Dihydrophylloquinone 0.300 Energy 489.000 Fatty acids, total monounsaturated 9.527 Fatty acids, total polyunsaturated 9.218 Fatty acids, total saturated 9.114 Fatty acids, total trans 1.480 Fatty acids, total trans-monoenoic 0.045 Fatty acids, total trans-polyenoic 0.201 Fiber, total dietary 50.000 Fluoride, F 94.600 Folate, DFE 2630.000 Folate, food 1500.000 Folate, total 1555.000 Folic acid 1538.000 Fructose 15.430 Galactose 0.160 Glucose (dextrose) 14.300 Glutamic acid 5.026 Glycine 1.791 Histidine 0.810 Hydroxyproline 0.000 Iron, Fe 67.670 Isoleucine 1.066 Lactose 0.000 Leucine 2.410 Lutein + zeaxanthin 1355.000 Lycopene 0.000 Lysine 1.847 Magnesium, Mg 606.000 Maltose 10.430 Manganese, Mn 19.956 Menaquinone-4 0.000 Methionine 0.574 Niacin 90.567
  92. 26/01/2013 08:36 Page 92 of 163 http://nbviewer.ipython.org/3904875/ Pantothenic acid 35.000

    Phenylalanine 1.300 Phosphorus, P 1314.000 Phytosterols 8.000 Potassium, K 1284.000 Proline 1.892 Protein 33.700 Retinol 1770.000 Riboflavin 7.290 Selenium, Se 123.100 Serine 1.386 Sodium, Na 1930.000 Starch 72.070 Sucrose 35.620 Sugars, total 56.000 Theobromine 188.000 Thiamin 7.550 Threonine 1.218 Tocopherol, beta 0.160 Tocopherol, delta 0.270 Tocopherol, gamma 2.430 Total lipid (fat) 24.060 Tryptophan 0.398 Tyrosine 0.885 Valine 1.507 Vitamin A, IU 5900.000 Vitamin A, RAE 1770.000 Vitamin B-12 24.000 Vitamin B-12, added 24.000 Vitamin B-6 12.000 Vitamin C, total ascorbic acid 239.700 Vitamin D 333.000 Vitamin D (D2 + D3) 8.300 Vitamin D3 (cholecalciferol) 8.300 Vitamin E (alpha-tocopherol) 80.460 Vitamin E, added 46.550 Vitamin K (phylloquinone) 13.500 Water 89.510 Zinc, Zn 64.330 Cereal Grains and Pasta Alanine 1.477 Alcohol, ethyl 0.000 Arginine 1.867 Ash 9.980 Aspartic acid 2.070 Betaine 630.400 Caffeine 0.000 Calcium, Ca 361.000 Carbohydrate, by difference 91.270 Carotene, alpha 63.000 Carotene, beta 277.000 Cholesterol 95.000 Choline, total 78.700 Copper, Cu 1.100 Cryptoxanthin, beta 2.000 Cystine 0.576 Dihydrophylloquinone 0.500 Energy 527.000 Fatty acids, total monounsaturated 7.689 Fatty acids, total polyunsaturated 17.331 Fatty acids, total saturated 4.931 Fatty acids, total trans 0.136 Fatty acids, total trans-monoenoic 0.026 Fatty acids, total trans-polyenoic 0.110
  93. 26/01/2013 08:36 Page 93 of 163 http://nbviewer.ipython.org/3904875/ Fiber, total dietary

    79.000 Fluoride, F 41.100 Folate, DFE 466.000 Folate, food 281.000 Folate, total 281.000 Folic acid 273.000 Fructose 0.470 Galactose 0.000 Glucose (dextrose) 1.490 Glutamic acid 6.840 Glycine 1.636 Histidine 0.643 Hydroxyproline 0.000 Iron, Fe 18.540 Isoleucine 0.847 Lactose 0.000 Leucine 1.571 Lutein + zeaxanthin 3487.000 Lycopene 245.000 Lysine 1.468 Magnesium, Mg 781.000 Maltose 6.630 Manganese, Mn 14.210 Menaquinone-4 1.100 Methionine 0.456 Niacin 33.995 Pantothenic acid 7.390 Phenylalanine 0.962 Phosphorus, P 1677.000 Phytosterols 24.000 Potassium, K 1485.000 Proline 2.084 Protein 75.160 Retinol 17.000 Riboflavin 0.805 Selenium, Se 89.400 Serine 1.148 Sodium, Na 1866.000 Starch 73.770 Sucrose 1.800 Sugars, total 8.190 Theobromine 0.000 Thiamin 2.753 Threonine 0.968 Tocopherol, beta 0.960 Tocopherol, delta 0.690 Tocopherol, gamma 7.140 Total lipid (fat) 31.720 Tryptophan 0.335 Tyrosine 0.704 Valine 1.198 Vitamin A, IU 469.000 Vitamin A, RAE 25.000 Vitamin B-12 0.400 Vitamin B-12, added 0.000 Vitamin B-6 4.070 Vitamin C, total ascorbic acid 4.200 Vitamin D 11.000 Vitamin D (D2 + D3) 0.300 Vitamin E (alpha-tocopherol) 4.920 Vitamin E, added 0.000 Vitamin K (phylloquinone) 151.500 Water 84.000
  94. 26/01/2013 08:36 Page 94 of 163 http://nbviewer.ipython.org/3904875/ Zinc, Zn 12.290

    Dairy and Egg Products Alanine 1.247 Alcohol, ethyl 0.000 Arginine 1.309 Ash 10.700 Aspartic acid 2.743 Beta-sitosterol 0.000 Betaine 3.300 Caffeine 52.000 Calcium, Ca 1376.000 Campesterol 0.000 Carbohydrate, by difference 73.400 Carotene, alpha 0.000 Carotene, beta 246.000 Cholesterol 884.000 Choline, total 271.100 Copper, Cu 2.600 Cryptoxanthin, beta 12.000 Cystine 0.334 Dihydrophylloquinone 0.100 Energy 545.000 Fatty acids, total monounsaturated 14.127 Fatty acids, total polyunsaturated 10.615 Fatty acids, total saturated 32.525 Fatty acids, total trans 0.890 Fatty acids, total trans-monoenoic 0.719 Fatty acids, total trans-polyenoic 0.170 Fiber, total dietary 2.000 Fluoride, F 112.000 Folate, DFE 850.000 Folate, food 80.000 Folate, total 500.000 Folic acid 500.000 Fructose 0.010 Galactose 0.160 Glucose (dextrose) 0.400 Glutamic acid 7.572 Glycine 0.765 Histidine 1.231 Hydroxyproline 0.030 Iron, Fe 12.820 Isoleucine 2.188 Lactose 5.820 Leucine 3.542 Lutein + zeaxanthin 543.000 Lycopene 0.000 Lysine 2.941 Magnesium, Mg 410.000 Maltose 0.150 Manganese, Mn 0.516 Menaquinone-4 5.800 Methionine 0.907 Niacin 25.600 Pantothenic acid 3.568 Phenylalanine 1.746 Phosphorus, P 1024.000 Phytosterols 32.000 Potassium, K 2200.000 Proline 3.718 Protein 41.600 Retinol 2686.000 Riboflavin 1.744 Selenium, Se 43.300
  95. 26/01/2013 08:36 Page 95 of 163 http://nbviewer.ipython.org/3904875/ Serine 1.967 Sodium,

    Na 2280.000 Starch 1.350 Stigmasterol 0.000 Sucrose 0.640 Sugars, total 73.400 Theobromine 608.000 Thiamin 1.500 Threonine 1.632 Tocopherol, beta 0.020 Tocopherol, delta 0.060 Tocopherol, gamma 0.540 Total lipid (fat) 35.480 Tryptophan 0.603 Tyrosine 1.775 Valine 2.420 Vitamin A, IU 8962.000 Vitamin A, RAE 2686.000 Vitamin B-12 5.400 Vitamin B-12, added 2.000 Vitamin B-6 2.000 Vitamin C, total ascorbic acid 138.000 Vitamin D 440.000 Vitamin D (D2 + D3) 11.000 Vitamin D2 (ergocalciferol) 1.100 Vitamin D3 (cholecalciferol) 11.000 Vitamin E (alpha-tocopherol) 16.880 Vitamin E, added 16.880 Vitamin K (phylloquinone) 120.000 Water 90.840 Zinc, Zn 15.400 Ethnic Foods Alanine 4.725 Alcohol, ethyl 0.000 Arginine 4.655 Ash 10.580 Aspartic acid 6.877 Beta-sitosterol 4.000 Betaine 331.700 Caffeine 0.000 Calcium, Ca 1600.000 Campesterol 1.000 Carbohydrate, by difference 81.980 Carotene, alpha 140.000 Carotene, beta 2350.000 Cholesterol 439.000 Choline, total 257.700 Copper, Cu 2.789 Cryptoxanthin, beta 483.000 Cystine 0.500 Dihydrophylloquinone 4.000 Energy 900.000 Fatty acids, total monounsaturated 54.520 Fatty acids, total polyunsaturated 33.001 Fatty acids, total saturated 14.740 Fatty acids, total trans 0.200 Fatty acids, total trans-monoenoic 0.057 Fatty acids, total trans-polyenoic 0.031 Fiber, total dietary 43.400 Folate, DFE 252.000 Folate, food 217.000 Folate, total 217.000 Folic acid 128.000 Fructose 42.830
  96. 26/01/2013 08:36 Page 96 of 163 http://nbviewer.ipython.org/3904875/ Galactose 0.000 Glucose

    (dextrose) 8.850 Glutamic acid 11.041 Glycine 4.370 Histidine 2.999 Hydroxyproline 0.244 Iron, Fe 72.350 Isoleucine 3.134 Lactose 0.000 Leucine 6.386 Lutein + zeaxanthin 6162.000 Lycopene 6800.000 Lysine 6.690 Magnesium, Mg 235.000 Maltose 3.530 Manganese, Mn 7.600 Menaquinone-4 2.700 Methionine 1.740 Niacin 22.750 Pantothenic acid 4.570 Phenylalanine 3.275 Phosphorus, P 1400.000 Phytosterols 0.000 Potassium, K 1720.000 Proline 3.789 Protein 82.600 Retinol 1044.000 Riboflavin 4.100 Selenium, Se 693.000 Serine 2.994 Sodium, Na 2850.000 Starch 63.620 Stigmasterol 2.000 Sucrose 20.080 Sugars, total 50.700 Theobromine 0.000 Thiamin 0.690 Threonine 3.228 Tocopherol, beta 6.490 Tocopherol, delta 2.400 Tocopherol, gamma 5.060 Total lipid (fat) 100.000 Tryptophan 1.600 Tyrosine 2.152 Valine 3.228 Vitamin A, IU 96000.000 Vitamin A, RAE 1044.000 Vitamin B-12 71.000 Vitamin B-12, added 0.000 Vitamin B-6 1.110 Vitamin C, total ascorbic acid 426.000 Vitamin D 628.000 Vitamin D (D2 + D3) 15.700 Vitamin E (alpha-tocopherol) 35.640 Vitamin E, added 0.000 Vitamin K (phylloquinone) 498.600 Water 99.700 Zinc, Zn 12.100 Fast Foods Alanine 1.647 Alcohol, ethyl 0.000 Arginine 1.635 Ash 6.200 Aspartic acid 1.964
  97. 26/01/2013 08:36 Page 97 of 163 http://nbviewer.ipython.org/3904875/ Betaine 98.200 Caffeine

    11.000 Calcium, Ca 422.000 Carbohydrate, by difference 86.440 Carotene, alpha 15.000 Carotene, beta 617.000 Cholesterol 427.000 Choline, total 180.600 Copper, Cu 1.011 Cryptoxanthin, beta 7.000 Cystine 0.473 Dihydrophylloquinone 78.700 Energy 640.000 Fatty acids, total monounsaturated 25.749 Fatty acids, total polyunsaturated 28.178 Fatty acids, total saturated 16.707 Fatty acids, total trans 6.147 Fatty acids, total trans-monoenoic 5.794 Fatty acids, total trans-polyenoic 0.697 Fiber, total dietary 5.000 Fluoride, F 37.000 Folate, DFE 212.000 Folate, food 159.000 Folate, total 183.000 Folic acid 88.000 Fructose 37.880 Galactose 0.510 Glucose (dextrose) 32.550 Glutamic acid 6.762 Glycine 2.431 Histidine 0.689 Hydroxyproline 0.803 Iron, Fe 5.500 Isoleucine 1.066 Lactose 6.230 Leucine 1.763 Lutein + zeaxanthin 280.000 Lycopene 2310.000 Lysine 1.693 Magnesium, Mg 193.000 Maltose 8.110 Manganese, Mn 2.000 Menaquinone-4 10.300 Methionine 0.568 Niacin 16.500 Pantothenic acid 1.754 Phenylalanine 1.106 Phosphorus, P 586.000 Phytosterols 13.000 Potassium, K 634.000 Proline 2.321 Protein 28.920 Retinol 217.000 Riboflavin 1.225 Selenium, Se 66.300 Serine 1.126 Sodium, Na 2140.000 Starch 38.100 Sucrose 32.100 Sugars, total 74.320 Theobromine 83.000 Thiamin 0.620 Threonine 0.954
  98. 26/01/2013 08:36 Page 98 of 163 http://nbviewer.ipython.org/3904875/ Tocopherol, beta 2.760

    Tocopherol, delta 4.120 Tocopherol, gamma 9.430 Total lipid (fat) 52.910 Tryptophan 0.267 Tyrosine 0.885 Valine 1.054 Vitamin A, IU 3024.000 Vitamin A, RAE 281.000 Vitamin B-12 7.330 Vitamin B-12, added 0.580 Vitamin B-6 1.090 Vitamin C, total ascorbic acid 277.000 Vitamin D 46.000 Vitamin D (D2 + D3) 1.100 Vitamin D3 (cholecalciferol) 0.200 Vitamin E (alpha-tocopherol) 26.100 Vitamin E, added 0.000 Vitamin K (phylloquinone) 70.900 Water 95.510 Zinc, Zn 11.250 Fats and Oils Alanine 1.036 Alcohol, ethyl 34.400 Arginine 0.918 Ash 38.010 Aspartic acid 2.353 Beta-sitosterol 426.000 Betaine 2.500 Caffeine 0.000 Calcium, Ca 1488.000 Campesterol 241.000 Carbohydrate, by difference 89.000 Carotene, alpha 4.000 Carotene, beta 610.000 Cholesterol 766.000 Choline, total 42.200 Copper, Cu 1.542 Cryptoxanthin, beta 52.000 Cystine 0.220 Dihydrophylloquinone 103.800 Energy 902.000 Fatty acids, total monounsaturated 83.689 Fatty acids, total polyunsaturated 66.000 Fatty acids, total saturated 95.600 Fatty acids, total trans 20.578 Fatty acids, total trans-monoenoic 18.970 Fatty acids, total trans-polyenoic 3.543 Fiber, total dietary 29.800 Fluoride, F 27.000 Folate, DFE 530.000 Folate, food 530.000 Folate, total 530.000 Folic acid 0.000 Fructose 0.610 Galactose 0.290 Glucose (dextrose) 1.910 Glutamic acid 2.172 Glycine 0.957 Histidine 0.399 Hydroxyproline 0.000 Iron, Fe 87.470 Isoleucine 0.816 Lactose 1.040
  99. 26/01/2013 08:36 Page 99 of 163 http://nbviewer.ipython.org/3904875/ Leucine 1.496 Lutein

    + zeaxanthin 126.000 Lycopene 3843.000 Lysine 0.858 Magnesium, Mg 602.000 Maltose 1.380 Manganese, Mn 11.482 Menaquinone-4 1.700 Methionine 0.281 Niacin 6.561 Pantothenic acid 1.399 Phenylalanine 1.017 Phosphorus, P 276.000 Phytosterols 9060.000 Potassium, K 1924.000 Proline 0.816 Protein 19.930 Retinol 30000.000 Riboflavin 1.421 Selenium, Se 6.800 Serine 0.778 Sodium, Na 8068.000 Starch 4.990 Stigmasterol 37.000 Sucrose 4.120 Sugars, total 38.730 Theobromine 0.000 Thiamin 0.288 Threonine 0.816 Tocopherol, beta 1.170 Tocopherol, delta 30.880 Tocopherol, gamma 100.880 Total lipid (fat) 100.000 Tryptophan 0.306 Tyrosine 0.600 Valine 0.995 Vitamin A, IU 100000.000 Vitamin A, RAE 30000.000 Vitamin B-12 10.800 Vitamin B-12, added 0.000 Vitamin B-6 3.750 Vitamin C, total ascorbic acid 45.000 Vitamin D 10000.000 Vitamin D (D2 + D3) 250.000 Vitamin D3 (cholecalciferol) 2.500 Vitamin E (alpha-tocopherol) 149.400 Vitamin E, added 0.000 Vitamin K (phylloquinone) 183.900 Water 95.700 Zinc, Zn 2.410 Finfish and Shellfish Products Alanine 3.799 Alcohol, ethyl 0.000 Arginine 4.936 Ash 25.100 Aspartic acid 6.433 Betaine 44.700 Caffeine 0.000 Calcium, Ca 382.000 Carbohydrate, by difference 21.180 Carotene, alpha 0.000 Carotene, beta 26.000 Cholesterol 588.000 Choline, total 490.900
  100. 26/01/2013 08:36 Page 100 of 163 http://nbviewer.ipython.org/3904875/ Copper, Cu 5.707

    Cryptoxanthin, beta 1.000 Cystine 0.673 Dihydrophylloquinone 11.900 Energy 305.000 Fatty acids, total monounsaturated 11.947 Fatty acids, total polyunsaturated 7.405 Fatty acids, total saturated 7.148 Fatty acids, total trans 0.855 Fatty acids, total trans-monoenoic 0.855 Fatty acids, total trans-polyenoic 0.024 Fiber, total dietary 1.400 Fluoride, F 209.900 Folate, DFE 179.000 Folate, food 179.000 Folate, total 179.000 Folic acid 24.000 Fructose 0.620 Galactose 0.130 Glucose (dextrose) 2.680 Glutamic acid 9.378 Glycine 3.015 Histidine 1.849 Hydroxyproline 0.042 Iron, Fe 27.960 Isoleucine 2.895 Lactose 0.000 Leucine 5.106 Lutein + zeaxanthin 648.000 Lycopene 1398.000 Lysine 5.769 Magnesium, Mg 300.000 Maltose 1.230 Manganese, Mn 6.800 Menaquinone-4 5.000 Methionine 1.859 Niacin 22.070 Pantothenic acid 3.500 Phenylalanine 2.452 Phosphorus, P 950.000 Phytosterols 3.000 Potassium, K 1458.000 Proline 2.365 Protein 62.820 Retinol 1137.000 Riboflavin 1.729 Selenium, Se 154.000 Serine 2.563 Sodium, Na 9690.000 Starch 18.900 Sucrose 2.950 Sugars, total 7.710 Theobromine 0.000 Thiamin 0.680 Threonine 2.754 Tocopherol, beta 0.050 Tocopherol, delta 1.330 Tocopherol, gamma 4.270 Total lipid (fat) 25.100 Tryptophan 0.704 Tyrosine 2.121 Valine 3.236 Vitamin A, IU 3787.000
  101. 26/01/2013 08:36 Page 101 of 163 http://nbviewer.ipython.org/3904875/ Vitamin A, RAE

    1137.000 Vitamin B-12 98.890 Vitamin B-12, added 0.000 Vitamin B-6 1.038 Vitamin C, total ascorbic acid 22.100 Vitamin D 1097.000 Vitamin D (D2 + D3) 27.400 Vitamin D3 (cholecalciferol) 27.400 Vitamin E (alpha-tocopherol) 7.000 Vitamin E, added 0.000 Vitamin K (phylloquinone) 44.000 Water 97.700 Zinc, Zn 90.950 Fruits and Fruit Juices Alanine 0.585 Alcohol, ethyl 0.000 Arginine 0.413 Ash 4.530 Aspartic acid 1.122 Beta-sitosterol 76.000 Betaine 0.800 Caffeine 0.000 Calcium, Ca 215.000 Campesterol 5.000 Carbohydrate, by difference 93.530 Carotene, alpha 438.000 Carotene, beta 2163.000 Cholesterol 0.000 Choline, total 24.500 Copper, Cu 1.060 Cryptoxanthin, beta 2767.000 Cystine 0.067 Dihydrophylloquinone 0.800 Energy 346.000 Fatty acids, total monounsaturated 11.314 Fatty acids, total polyunsaturated 2.697 Fatty acids, total saturated 3.690 Fatty acids, total trans 0.159 Fatty acids, total trans-monoenoic 0.116 Fatty acids, total trans-polyenoic 0.043 Fiber, total dietary 14.500 Fluoride, F 233.900 Folate, DFE 155.000 Folate, food 155.000 Folate, total 155.000 Folic acid 0.000 Fructose 31.950 Galactose 0.590 Glucose (dextrose) 33.680 Glutamic acid 0.780 Glycine 0.190 Histidine 0.333 Iron, Fe 6.310 Isoleucine 0.167 Lactose 0.010 Leucine 0.359 Lutein + zeaxanthin 834.000 Lycopene 5204.000 Lysine 0.339 Magnesium, Mg 108.000 Maltose 1.900 Manganese, Mn 3.439 Menaquinone-4 0.600 Methionine 0.118
  102. 26/01/2013 08:36 Page 102 of 163 http://nbviewer.ipython.org/3904875/ Niacin 4.825 Pantothenic

    acid 1.463 Phenylalanine 0.203 Phosphorus, P 196.000 Phytosterols 35.000 Potassium, K 1850.000 Proline 0.821 Protein 4.900 Retinol 0.000 Riboflavin 0.570 Selenium, Se 3.900 Serine 0.281 Sodium, Na 1556.000 Starch 40.700 Stigmasterol 2.000 Sucrose 38.370 Sugars, total 81.130 Theobromine 0.000 Thiamin 0.428 Threonine 0.192 Tocopherol, beta 0.080 Tocopherol, delta 1.040 Tocopherol, gamma 1.880 Total lipid (fat) 15.410 Tryptophan 0.087 Tyrosine 0.128 Valine 0.282 Vitamin A, IU 12669.000 Vitamin A, RAE 633.000 Vitamin B-12 0.000 Vitamin B-12, added 0.000 Vitamin B-6 0.745 Vitamin C, total ascorbic acid 1677.600 Vitamin D 55.000 Vitamin D (D2 + D3) 1.400 Vitamin D3 (cholecalciferol) 1.400 Vitamin E (alpha-tocopherol) 4.330 Vitamin E, added 0.000 Vitamin K (phylloquinone) 59.500 Water 94.300 Zinc, Zn 1.000 Lamb, Veal, and Game Products Alanine 2.250 Alcohol, ethyl 0.000 Arginine 2.300 Ash 2.880 Aspartic acid 3.301 Betaine 18.600 Caffeine 0.000 Calcium, Ca 162.000 Carbohydrate, by difference 9.910 Carotene, alpha 13.000 Carotene, beta 47.000 Cholesterol 3100.000 Choline, total 411.000 Copper, Cu 15.050 Cryptoxanthin, beta 16.000 Cystine 0.490 Dihydrophylloquinone 0.100 Energy 665.000 Fatty acids, total monounsaturated 29.110 Fatty acids, total polyunsaturated 5.350 Fatty acids, total saturated 35.353 Fatty acids, total trans 0.305
  103. 26/01/2013 08:36 Page 103 of 163 http://nbviewer.ipython.org/3904875/ Fiber, total dietary

    0.300 Fluoride, F 32.000 Folate, DFE 400.000 Folate, food 400.000 Folate, total 400.000 Folic acid 8.000 Fructose 0.230 Galactose 0.000 Glucose (dextrose) 0.170 Glutamic acid 5.806 Glycine 2.288 Histidine 1.494 Hydroxyproline 0.519 Iron, Fe 41.890 Isoleucine 1.808 Lactose 0.000 Leucine 2.922 Lutein + zeaxanthin 0.000 Lycopene 0.000 Lysine 3.240 Magnesium, Mg 34.000 Maltose 0.180 Manganese, Mn 0.594 Methionine 0.914 Niacin 16.680 Pantothenic acid 7.075 Phenylalanine 1.481 Phosphorus, P 627.000 Phytosterols 3.000 Potassium, K 488.000 Proline 1.730 Protein 36.710 Retinol 21140.000 Riboflavin 4.590 Selenium, Se 218.800 Serine 1.463 Sodium, Na 455.000 Starch 5.490 Sucrose 0.000 Sugars, total 0.570 Theobromine 0.000 Thiamin 0.620 Threonine 1.604 Tocopherol, beta 0.010 Tocopherol, delta 0.020 Tocopherol, gamma 0.070 Total lipid (fat) 70.610 Tryptophan 0.545 Tyrosine 1.194 Valine 2.029 Vitamin A, IU 70564.000 Vitamin A, RAE 21145.000 Vitamin B-12 90.050 Vitamin B-12, added 0.000 Vitamin B-6 0.957 Vitamin C, total ascorbic acid 49.200 Vitamin D 2.000 Vitamin D (D2 + D3) 0.100 Vitamin D3 (cholecalciferol) 0.100 Vitamin E (alpha-tocopherol) 0.750 Vitamin E, added 0.000 Vitamin K (phylloquinone) 7.000 Water 80.500
  104. 26/01/2013 08:36 Page 104 of 163 http://nbviewer.ipython.org/3904875/ Zinc, Zn 12.020

    Legumes and Legume Products Alanine 3.800 Alcohol, ethyl 0.000 Arginine 6.700 Ash 17.820 Aspartic acid 10.203 Beta-sitosterol 47.000 Betaine 29.800 Caffeine 2.000 Calcium, Ca 2134.000 Campesterol 6.000 Carbohydrate, by difference 88.880 Carotene, alpha 0.000 Carotene, beta 563.000 Cholesterol 22.000 Choline, total 191.700 Copper, Cu 5.080 Cryptoxanthin, beta 43.000 Cystine 1.150 Dihydrophylloquinone 0.900 Energy 650.000 Fatty acids, total monounsaturated 36.614 Fatty acids, total polyunsaturated 17.772 Fatty acids, total saturated 10.510 Fatty acids, total trans 1.400 Fatty acids, total trans-monoenoic 0.025 Fatty acids, total trans-polyenoic 0.164 Fiber, total dietary 39.800 Fluoride, F 54.000 Folate, DFE 658.000 Folate, food 658.000 Folate, total 658.000 Folic acid 239.000 Fructose 6.000 Galactose 0.340 Glucose (dextrose) 4.220 Glutamic acid 17.452 Glycine 3.700 Histidine 2.303 Hydroxyproline 0.040 Iron, Fe 20.000 Isoleucine 4.300 Lactose 0.060 Leucine 7.200 Lutein + zeaxanthin 107.000 Lycopene 1069.000 Lysine 5.500 Magnesium, Mg 429.000 Maltose 0.300 Manganese, Mn 4.900 Methionine 1.150 Niacin 36.000 Pantothenic acid 9.000 Phenylalanine 4.600 Phosphorus, P 862.000 Phytosterols 220.000 Potassium, K 2570.000 Proline 4.960 Protein 88.320 Retinol 1172.000 Riboflavin 1.720 Selenium, Se 58.900 Serine 4.600
  105. 26/01/2013 08:36 Page 105 of 163 http://nbviewer.ipython.org/3904875/ Sodium, Na 5689.000

    Starch 34.170 Stigmasterol 4.000 Sucrose 8.680 Sugars, total 49.080 Theobromine 23.000 Thiamin 20.000 Threonine 3.300 Tocopherol, beta 0.280 Tocopherol, delta 2.610 Tocopherol, gamma 13.440 Total lipid (fat) 54.890 Tryptophan 1.116 Tyrosine 3.300 Valine 4.500 Vitamin A, IU 3907.000 Vitamin A, RAE 1172.000 Vitamin B-12 13.100 Vitamin B-12, added 5.110 Vitamin B-6 2.600 Vitamin C, total ascorbic acid 200.000 Vitamin D 157.000 Vitamin D (D2 + D3) 3.900 Vitamin D2 (ergocalciferol) 1.200 Vitamin E (alpha-tocopherol) 43.200 Vitamin E, added 36.900 Vitamin K (phylloquinone) 71.000 Water 93.180 Zinc, Zn 60.000 Meals, Entrees, and Sidedishes Alanine 0.522 Alcohol, ethyl 0.000 Arginine 0.504 Ash 15.700 Aspartic acid 0.765 Betaine 43.200 Caffeine 0.000 Calcium, Ca 196.000 Carbohydrate, by difference 69.210 Carotene, alpha 1674.000 Carotene, beta 3845.000 Cholesterol 42.000 Choline, total 40.400 Copper, Cu 0.845 Cryptoxanthin, beta 43.000 Cystine 0.179 Dihydrophylloquinone 5.900 Energy 368.000 Fatty acids, total monounsaturated 5.312 Fatty acids, total polyunsaturated 2.611 Fatty acids, total saturated 4.320 Fatty acids, total trans 0.588 Fatty acids, total trans-monoenoic 0.134 Fatty acids, total trans-polyenoic 0.051 Fiber, total dietary 10.400 Fluoride, F 56.500 Folate, DFE 334.000 Folate, food 46.000 Folate, total 204.000 Folic acid 187.000 Fructose 2.230 Galactose 0.000 Glucose (dextrose) 2.210 Glutamic acid 4.554
  106. 26/01/2013 08:36 Page 106 of 163 http://nbviewer.ipython.org/3904875/ Glycine 0.625 Histidine

    0.327 Hydroxyproline 0.048 Iron, Fe 3.610 Isoleucine 0.581 Lactose 6.900 Leucine 1.082 Lutein + zeaxanthin 454.000 Lycopene 9154.000 Lysine 0.636 Magnesium, Mg 61.000 Maltose 4.810 Manganese, Mn 0.761 Menaquinone-4 6.100 Methionine 0.218 Niacin 3.882 Pantothenic acid 1.252 Phenylalanine 0.692 Phosphorus, P 307.000 Phytosterols 0.000 Potassium, K 394.000 Proline 2.180 Protein 14.970 Retinol 58.000 Riboflavin 1.333 Selenium, Se 47.500 Serine 0.728 Sodium, Na 988.000 Starch 52.600 Sucrose 3.500 Sugars, total 9.610 Theobromine 0.000 Thiamin 1.040 Threonine 0.492 Tocopherol, beta 2.420 Tocopherol, delta 0.580 Tocopherol, gamma 1.720 Total lipid (fat) 11.940 Tryptophan 0.221 Tyrosine 0.355 Valine 0.639 Vitamin A, IU 7804.000 Vitamin A, RAE 390.000 Vitamin B-12 1.020 Vitamin B-12, added 0.320 Vitamin B-6 0.287 Vitamin C, total ascorbic acid 29.300 Vitamin D 40.000 Vitamin D (D2 + D3) 1.000 Vitamin E (alpha-tocopherol) 0.930 Vitamin E, added 0.000 Vitamin K (phylloquinone) 41.900 Water 82.400 Zinc, Zn 1.420 Nut and Seed Products Alanine 2.620 Alcohol, ethyl 0.000 Arginine 7.436 Ash 18.900 Aspartic acid 5.425 Beta-sitosterol 200.000 Betaine 35.400 Caffeine 0.000 Calcium, Ca 1633.000
  107. 26/01/2013 08:36 Page 107 of 163 http://nbviewer.ipython.org/3904875/ Campesterol 21.000 Carbohydrate,

    by difference 81.430 Carotene, alpha 3.000 Carotene, beta 249.000 Cholesterol 0.000 Choline, total 78.700 Copper, Cu 4.214 Cryptoxanthin, beta 9.000 Cystine 1.307 Dihydrophylloquinone 0.000 Energy 719.000 Fatty acids, total monounsaturated 59.275 Fatty acids, total polyunsaturated 47.174 Fatty acids, total saturated 61.257 Fatty acids, total trans 0.158 Fatty acids, total trans-monoenoic 0.074 Fatty acids, total trans-polyenoic 0.084 Fiber, total dietary 37.700 Fluoride, F 10.000 Folate, DFE 242.000 Folate, food 242.000 Folate, total 242.000 Folic acid 0.000 Fructose 0.240 Galactose 0.050 Glucose (dextrose) 0.740 Glutamic acid 12.476 Glycine 3.434 Histidine 1.570 Hydroxyproline 0.175 Iron, Fe 19.200 Isoleucine 2.403 Lactose 0.000 Leucine 3.841 Lutein + zeaxanthin 1405.000 Lycopene 0.000 Lysine 2.529 Magnesium, Mg 760.000 Maltose 0.170 Manganese, Mn 12.650 Menaquinone-4 0.000 Methionine 1.656 Niacin 16.825 Pantothenic acid 7.056 Phenylalanine 3.103 Phosphorus, P 1684.000 Phytosterols 714.000 Potassium, K 2130.000 Proline 2.494 Protein 50.140 Retinol 0.000 Riboflavin 1.014 Selenium, Se 1917.000 Serine 2.734 Sodium, Na 2541.000 Starch 23.490 Stigmasterol 18.000 Sucrose 51.500 Sugars, total 51.500 Theobromine 0.000 Thiamin 3.187 Threonine 2.081 Tocopherol, beta 1.410
  108. 26/01/2013 08:36 Page 108 of 163 http://nbviewer.ipython.org/3904875/ Tocopherol, delta 5.660

    Tocopherol, gamma 35.100 Total lipid (fat) 79.550 Tryptophan 1.097 Tyrosine 2.100 Valine 2.800 Vitamin A, IU 1091.000 Vitamin A, RAE 55.000 Vitamin B-12 0.000 Vitamin B-12, added 0.000 Vitamin B-6 1.700 Vitamin C, total ascorbic acid 61.300 Vitamin D 0.000 Vitamin D (D2 + D3) 0.000 Vitamin E (alpha-tocopherol) 36.330 Vitamin E, added 0.000 Vitamin K (phylloquinone) 53.900 Water 94.990 Zinc, Zn 12.320 Pork Products Alanine 2.471 Alcohol, ethyl 0.000 Arginine 2.501 Ash 7.740 Aspartic acid 3.634 Betaine 9.800 Caffeine 0.000 Calcium, Ca 315.000 Carbohydrate, by difference 4.630 Carotene, alpha 0.000 Carotene, beta 0.000 Cholesterol 2552.000 Choline, total 471.000 Copper, Cu 1.197 Cryptoxanthin, beta 0.000 Cystine 0.557 Dihydrophylloquinone 0.200 Energy 898.000 Fatty acids, total monounsaturated 41.950 Fatty acids, total polyunsaturated 11.323 Fatty acids, total saturated 45.230 Fatty acids, total trans 0.656 Fatty acids, total trans-monoenoic 0.445 Fatty acids, total trans-polyenoic 0.163 Fiber, total dietary 0.000 Fluoride, F 33.600 Folate, DFE 212.000 Folate, food 212.000 Folate, total 212.000 Folic acid 0.000 Fructose 0.480 Galactose 0.000 Glucose (dextrose) 4.040 Glutamic acid 5.685 Glycine 4.400 Histidine 1.452 Hydroxyproline 0.678 Iron, Fe 23.300 Isoleucine 1.812 Lactose 0.000 Leucine 3.008 Lutein + zeaxanthin 0.000 Lycopene 0.000 Lysine 3.204
  109. 26/01/2013 08:36 Page 109 of 163 http://nbviewer.ipython.org/3904875/ Magnesium, Mg 36.000

    Maltose 0.170 Manganese, Mn 0.344 Menaquinone-4 14.900 Methionine 0.859 Niacin 15.301 Pantothenic acid 6.650 Phenylalanine 1.532 Phosphorus, P 561.000 Phytosterols 3.000 Potassium, K 591.000 Proline 2.848 Protein 38.620 Retinol 6502.000 Riboflavin 3.005 Selenium, Se 311.500 Serine 1.469 Sodium, Na 2695.000 Sucrose 0.780 Sugars, total 4.690 Theobromine 0.000 Thiamin 1.116 Threonine 1.512 Tocopherol, beta 0.020 Tocopherol, delta 0.020 Tocopherol, gamma 0.180 Total lipid (fat) 99.500 Tryptophan 0.625 Tyrosine 1.342 Valine 2.055 Vitamin A, IU 21650.000 Vitamin A, RAE 6502.000 Vitamin B-12 26.000 Vitamin B-12, added 0.000 Vitamin B-6 0.803 Vitamin C, total ascorbic acid 34.900 Vitamin D 122.000 Vitamin D (D2 + D3) 3.100 Vitamin D3 (cholecalciferol) 3.100 Vitamin E (alpha-tocopherol) 0.760 Vitamin E, added 0.000 Vitamin K (phylloquinone) 0.300 Water 80.060 Zinc, Zn 6.720 Poultry Products Alanine 1.910 Alcohol, ethyl 0.000 Arginine 2.152 Ash 6.800 Aspartic acid 2.996 Betaine 25.600 Caffeine 0.000 Calcium, Ca 70.000 Carbohydrate, by difference 15.700 Carotene, alpha 11.000 Carotene, beta 30.000 Cholesterol 563.000 Choline, total 290.000 Copper, Cu 0.763 Cryptoxanthin, beta 11.000 Cystine 0.445 Dihydrophylloquinone 0.000 Energy 462.000 Fatty acids, total monounsaturated 25.610
  110. 26/01/2013 08:36 Page 110 of 163 http://nbviewer.ipython.org/3904875/ Fatty acids, total

    polyunsaturated 8.570 Fatty acids, total saturated 14.450 Fatty acids, total trans 0.243 Fatty acids, total trans-monoenoic 0.192 Fatty acids, total trans-polyenoic 0.051 Fiber, total dietary 0.500 Fluoride, F 14.700 Folate, DFE 691.000 Folate, food 691.000 Folate, total 691.000 Folic acid 29.000 Fructose 0.000 Galactose 0.000 Glucose (dextrose) 0.000 Glutamic acid 5.035 Glycine 3.248 Histidine 1.120 Hydroxyproline 0.502 Iron, Fe 11.630 Isoleucine 1.632 Lactose 0.000 Leucine 2.507 Lutein + zeaxanthin 83.000 Lycopene 21.000 Lysine 2.963 Magnesium, Mg 33.000 Maltose 0.000 Manganese, Mn 0.359 Menaquinone-4 33.200 Methionine 0.910 Niacin 13.742 Pantothenic acid 6.668 Phenylalanine 1.253 Phosphorus, P 460.000 Phytosterols 0.000 Potassium, K 420.000 Proline 1.899 Protein 32.400 Retinol 22600.000 Riboflavin 2.760 Selenium, Se 137.000 Serine 1.372 Sodium, Na 2285.000 Starch 0.000 Sucrose 0.020 Sugars, total 0.320 Theobromine 0.000 Thiamin 0.420 Threonine 1.372 Tocopherol, beta 0.000 Tocopherol, delta 0.010 Tocopherol, gamma 0.350 Total lipid (fat) 43.840 Tryptophan 0.403 Tyrosine 1.219 Valine 1.639 Vitamin A, IU 75333.000 Vitamin A, RAE 22600.000 Vitamin B-12 58.200 Vitamin B-12, added 0.000 Vitamin B-6 1.040 Vitamin C, total ascorbic acid 27.900 Vitamin D 26.000
  111. 26/01/2013 08:36 Page 111 of 163 http://nbviewer.ipython.org/3904875/ Vitamin D (D2

    + D3) 0.700 Vitamin D3 (cholecalciferol) 0.600 Vitamin E (alpha-tocopherol) 1.060 Vitamin E, added 0.000 Vitamin K (phylloquinone) 15.400 Water 85.070 Zinc, Zn 7.120 Restaurant Foods Alanine 1.829 Alcohol, ethyl 0.000 Arginine 2.146 Ash 3.690 Aspartic acid 2.989 Beta-sitosterol 28.000 Betaine 21.900 Caffeine 0.000 Calcium, Ca 362.000 Campesterol 12.000 Carbohydrate, by difference 48.570 Carotene, alpha 341.000 Carotene, beta 601.000 Cholesterol 106.000 Choline, total 43.800 Copper, Cu 0.161 Cryptoxanthin, beta 58.000 Cystine 0.328 Dihydrophylloquinone 11.100 Energy 462.000 Fatty acids, total monounsaturated 9.415 Fatty acids, total polyunsaturated 10.482 Fatty acids, total saturated 7.204 Fatty acids, total trans 0.970 Fatty acids, total trans-monoenoic 0.875 Fatty acids, total trans-polyenoic 0.200 Fiber, total dietary 5.800 Folate, DFE 15.000 Folate, food 6.000 Folate, total 11.000 Folic acid 5.000 Fructose 2.380 Galactose 0.390 Glucose (dextrose) 2.200 Glutamic acid 4.878 Glycine 1.491 Histidine 1.162 Hydroxyproline 0.000 Iron, Fe 3.520 Isoleucine 1.539 Lactose 3.620 Leucine 2.659 Lutein + zeaxanthin 268.000 Lycopene 417.000 Lysine 2.949 Magnesium, Mg 54.000 Maltose 1.140 Manganese, Mn 0.587 Menaquinone-4 12.600 Methionine 0.817 Niacin 9.410 Pantothenic acid 1.267 Phenylalanine 1.309 Phosphorus, P 470.000 Potassium, K 669.000 Proline 1.660
  112. 26/01/2013 08:36 Page 112 of 163 http://nbviewer.ipython.org/3904875/ Protein 30.610 Retinol

    108.000 Riboflavin 0.270 Selenium, Se 36.200 Serine 1.209 Sodium, Na 1136.000 Starch 34.100 Stigmasterol 8.000 Sucrose 10.470 Sugars, total 15.260 Theobromine 0.000 Thiamin 0.277 Threonine 1.449 Tocopherol, beta 0.860 Tocopherol, delta 3.220 Tocopherol, gamma 10.080 Total lipid (fat) 26.240 Tryptophan 0.410 Tyrosine 1.123 Valine 2.749 Vitamin A, IU 1299.000 Vitamin A, RAE 108.000 Vitamin B-12 4.000 Vitamin B-12, added 0.000 Vitamin B-6 0.643 Vitamin C, total ascorbic acid 11.600 Vitamin D 6.000 Vitamin D (D2 + D3) 0.200 Vitamin D3 (cholecalciferol) 0.200 Vitamin E (alpha-tocopherol) 2.640 Vitamin E, added 0.000 Vitamin K (phylloquinone) 58.900 Water 83.410 Zinc, Zn 5.670 Sausages and Luncheon Meats Alanine 1.951 Alcohol, ethyl 0.000 Arginine 1.898 Ash 10.400 Aspartic acid 2.653 Betaine 11.700 Caffeine 0.000 Calcium, Ca 267.000 Carbohydrate, by difference 15.380 Carotene, alpha 11.000 Carotene, beta 147.000 Cholesterol 160.000 Choline, total 96.700 Copper, Cu 0.487 Cryptoxanthin, beta 46.000 Cystine 0.371 Dihydrophylloquinone 0.000 Energy 517.000 Fatty acids, total monounsaturated 21.900 Fatty acids, total polyunsaturated 5.046 Fatty acids, total saturated 16.000 Fatty acids, total trans 2.420 Fatty acids, total trans-monoenoic 0.434 Fatty acids, total trans-polyenoic 0.152 Fiber, total dietary 2.500 Fluoride, F 41.200 Folate, DFE 61.000 Folate, food 61.000 Folate, total 61.000
  113. 26/01/2013 08:36 Page 113 of 163 http://nbviewer.ipython.org/3904875/ Folic acid 13.000

    Fructose 0.010 Galactose 0.000 Glucose (dextrose) 2.760 Glutamic acid 4.413 Glycine 2.263 Histidine 0.917 Hydroxyproline 0.323 Iron, Fe 9.740 Isoleucine 2.206 Lactose 4.670 Leucine 2.287 Lutein + zeaxanthin 87.000 Lycopene 15.000 Lysine 2.429 Magnesium, Mg 41.000 Maltose 0.630 Manganese, Mn 0.978 Menaquinone-4 28.000 Methionine 0.749 Niacin 8.280 Pantothenic acid 2.950 Phenylalanine 1.149 Phosphorus, P 384.000 Phytosterols 21.000 Potassium, K 1372.000 Proline 1.951 Protein 31.100 Retinol 4091.000 Riboflavin 1.550 Selenium, Se 58.000 Serine 1.147 Sodium, Na 2790.000 Starch 1.630 Sucrose 0.440 Sugars, total 8.460 Theobromine 0.000 Thiamin 0.930 Threonine 1.473 Tocopherol, beta 0.000 Tocopherol, delta 0.000 Tocopherol, gamma 0.310 Total lipid (fat) 44.200 Tryptophan 0.278 Tyrosine 0.916 Valine 1.426 Vitamin A, IU 16670.000 Vitamin A, RAE 4505.000 Vitamin B-12 18.520 Vitamin B-12, added 0.000 Vitamin B-6 0.550 Vitamin C, total ascorbic acid 43.000 Vitamin D 79.000 Vitamin D (D2 + D3) 2.000 Vitamin D3 (cholecalciferol) 2.000 Vitamin E (alpha-tocopherol) 0.640 Vitamin E, added 0.000 Vitamin K (phylloquinone) 5.700 Water 81.810 Zinc, Zn 6.080 Snacks Alanine 5.811 Alcohol, ethyl 0.000 Arginine 4.841
  114. 26/01/2013 08:36 Page 114 of 163 http://nbviewer.ipython.org/3904875/ Ash 7.000 Aspartic

    acid 4.469 Beta-sitosterol 148.000 Betaine 60.900 Caffeine 11.000 Calcium, Ca 1495.000 Campesterol 55.000 Carbohydrate, by difference 90.060 Carotene, alpha 441.000 Carotene, beta 14204.000 Cholesterol 136.000 Choline, total 164.500 Copper, Cu 2.456 Cryptoxanthin, beta 242.000 Cystine 0.529 Dihydrophylloquinone 68.900 Energy 583.000 Fatty acids, total monounsaturated 20.470 Fatty acids, total polyunsaturated 23.191 Fatty acids, total saturated 28.970 Fatty acids, total trans 9.466 Fatty acids, total trans-monoenoic 0.817 Fatty acids, total trans-polyenoic 0.200 Fiber, total dietary 22.500 Fluoride, F 105.500 Folate, DFE 1773.000 Folate, food 408.000 Folate, total 1057.000 Folic acid 1023.000 Fructose 15.960 Galactose 5.620 Glucose (dextrose) 11.940 Glutamic acid 7.625 Glycine 11.917 Histidine 0.725 Hydroxyproline 0.090 Iron, Fe 18.150 Isoleucine 1.382 Lactose 2.230 Leucine 3.322 Lutein + zeaxanthin 1762.000 Lycopene 7248.000 Lysine 2.783 Magnesium, Mg 329.000 Maltose 10.040 Manganese, Mn 6.180 Menaquinone-4 0.000 Methionine 0.480 Niacin 45.249 Pantothenic acid 22.624 Phenylalanine 1.940 Phosphorus, P 785.000 Phytosterols 313.000 Potassium, K 1744.000 Proline 7.262 Protein 61.300 Retinol 1050.000 Riboflavin 3.846 Selenium, Se 62.500 Serine 2.597 Sodium, Na 2667.000 Starch 71.400 Stigmasterol 21.000
  115. 26/01/2013 08:36 Page 115 of 163 http://nbviewer.ipython.org/3904875/ Sucrose 16.510 Sugars,

    total 65.000 Theobromine 106.000 Thiamin 8.060 Threonine 1.823 Tocopherol, beta 0.240 Tocopherol, delta 5.990 Tocopherol, gamma 24.880 Total lipid (fat) 49.600 Tryptophan 0.376 Tyrosine 1.205 Valine 2.421 Vitamin A, IU 23674.000 Vitamin A, RAE 1184.000 Vitamin B-12 13.570 Vitamin B-12, added 12.040 Vitamin B-6 4.525 Vitamin C, total ascorbic acid 489.900 Vitamin D 214.000 Vitamin D (D2 + D3) 5.400 Vitamin D3 (cholecalciferol) 0.300 Vitamin E (alpha-tocopherol) 64.250 Vitamin E, added 37.700 Vitamin K (phylloquinone) 328.600 Water 23.360 Zinc, Zn 13.570 Soups, Sauces, and Gravies Alanine 0.750 Alcohol, ethyl 0.400 Arginine 0.880 Ash 54.700 Aspartic acid 1.112 Betaine 11.900 Caffeine 0.000 Calcium, Ca 751.000 Carbohydrate, by difference 82.200 Carotene, alpha 2682.000 Carotene, beta 5745.000 Cholesterol 94.000 Choline, total 114.600 Copper, Cu 1.300 Cryptoxanthin, beta 68.000 Cystine 0.184 Dihydrophylloquinone 0.000 Energy 535.000 Fatty acids, total monounsaturated 14.963 Fatty acids, total polyunsaturated 8.610 Fatty acids, total saturated 13.180 Fatty acids, total trans 0.204 Fatty acids, total trans-monoenoic 0.001 Fatty acids, total trans-polyenoic 0.000 Fiber, total dietary 7.600 Fluoride, F 70.000 Folate, DFE 191.000 Folate, food 190.000 Folate, total 190.000 Folic acid 98.000 Fructose 7.060 Galactose 0.190 Glucose (dextrose) 6.810 Glutamic acid 4.971 Glycine 0.666 Histidine 0.400 Hydroxyproline 0.036
  116. 26/01/2013 08:36 Page 116 of 163 http://nbviewer.ipython.org/3904875/ Iron, Fe 47.500

    Isoleucine 0.687 Lactose 1.700 Leucine 1.157 Lutein + zeaxanthin 4505.000 Lycopene 12819.000 Lysine 0.805 Magnesium, Mg 175.000 Maltose 0.780 Manganese, Mn 0.980 Menaquinone-4 3.400 Methionine 0.264 Niacin 23.830 Pantothenic acid 1.218 Phenylalanine 0.726 Phosphorus, P 539.000 Phytosterols 2.000 Potassium, K 1330.000 Proline 1.312 Protein 25.400 Retinol 77.000 Riboflavin 4.330 Selenium, Se 32.400 Serine 0.740 Sodium, Na 24000.000 Starch 56.150 Sucrose 9.340 Sugars, total 26.060 Theobromine 0.000 Thiamin 3.970 Threonine 0.610 Tocopherol, beta 0.200 Tocopherol, delta 0.280 Tocopherol, gamma 1.170 Total lipid (fat) 36.350 Tryptophan 0.154 Tyrosine 0.473 Valine 0.764 Vitamin A, IU 11810.000 Vitamin A, RAE 591.000 Vitamin B-12 3.230 Vitamin B-12, added 0.000 Vitamin B-6 5.899 Vitamin C, total ascorbic acid 85.900 Vitamin D 50.000 Vitamin D (D2 + D3) 1.200 Vitamin D3 (cholecalciferol) 1.200 Vitamin E (alpha-tocopherol) 3.860 Vitamin E, added 0.000 Vitamin K (phylloquinone) 196.700 Water 98.280 Zinc, Zn 8.400 Spices and Herbs Alanine 1.778 Alcohol, ethyl 0.000 Arginine 2.465 Ash 16.600 Aspartic acid 3.169 Betaine 7.100 Caffeine 0.000 Calcium, Ca 2132.000 Carbohydrate, by difference 68.730 Carotene, alpha 2090.000 Carotene, beta 26162.000
  117. 26/01/2013 08:36 Page 117 of 163 http://nbviewer.ipython.org/3904875/ Cholesterol 137.000 Choline,

    total 97.100 Copper, Cu 1.110 Cryptoxanthin, beta 6186.000 Cystine 0.369 Dihydrophylloquinone 0.000 Energy 431.000 Fatty acids, total monounsaturated 10.686 Fatty acids, total polyunsaturated 8.006 Fatty acids, total saturated 23.032 Fatty acids, total trans 0.000 Fatty acids, total trans-monoenoic 0.000 Fiber, total dietary 45.700 Fluoride, F 35.000 Folate, DFE 274.000 Folate, food 274.000 Folate, total 274.000 Folic acid 0.000 Fructose 7.380 Galactose 0.190 Glucose (dextrose) 7.570 Glutamic acid 8.696 Glycine 1.756 Histidine 1.384 Hydroxyproline 0.000 Iron, Fe 37.880 Isoleucine 1.969 Lactose 5.050 Leucine 3.718 Lutein + zeaxanthin 18944.000 Lycopene 21.000 Lysine 3.306 Magnesium, Mg 428.000 Maltose 0.620 Manganese, Mn 9.810 Menaquinone-4 9.300 Methionine 1.016 Niacin 11.600 Pantothenic acid 2.510 Phenylalanine 2.081 Phosphorus, P 762.000 Phytosterols 244.000 Potassium, K 4740.000 Proline 4.622 Protein 38.460 Retinol 405.000 Riboflavin 2.383 Selenium, Se 29.300 Serine 2.292 Sodium, Na 1640.000 Starch 0.500 Sucrose 4.090 Sugars, total 14.950 Theobromine 0.000 Thiamin 0.754 Threonine 1.455 Tocopherol, beta 0.350 Tocopherol, delta 0.070 Tocopherol, gamma 3.410 Total lipid (fat) 37.000 Tryptophan 0.518 Tyrosine 2.328 Valine 2.524
  118. 26/01/2013 08:36 Page 118 of 163 http://nbviewer.ipython.org/3904875/ Vitamin A, IU

    49254.000 Vitamin A, RAE 2463.000 Vitamin B-12 3.340 Vitamin B-12, added 0.000 Vitamin B-6 2.690 Vitamin C, total ascorbic acid 160.100 Vitamin D 51.000 Vitamin D (D2 + D3) 1.300 Vitamin D3 (cholecalciferol) 1.300 Vitamin E (alpha-tocopherol) 38.140 Vitamin E, added 0.000 Vitamin K (phylloquinone) 1714.500 Water 94.470 Zinc, Zn 8.800 Sweets Adjusted Protein 12.900 Alanine 8.009 Alcohol, ethyl 0.000 Arginine 6.616 Ash 72.500 Aspartic acid 5.265 Beta-sitosterol 86.000 Betaine 6.100 Caffeine 839.000 Calcium, Ca 3733.000 Campesterol 13.000 Carbohydrate, by difference 100.000 Carotene, alpha 9.000 Carotene, beta 135.000 Cholesterol 258.000 Choline, total 50.900 Copper, Cu 3.788 Cryptoxanthin, beta 38.000 Cystine 0.239 Dihydrophylloquinone 18.700 Energy 598.000 Fatty acids, total monounsaturated 16.721 Fatty acids, total polyunsaturated 14.591 Fatty acids, total saturated 32.351 Fatty acids, total trans 3.748 Fatty acids, total trans-monoenoic 0.613 Fatty acids, total trans-polyenoic 0.061 Fiber, total dietary 33.900 Fluoride, F 88.900 Folate, DFE 92.000 Folate, food 273.000 Folate, total 273.000 Folic acid 40.000 Fructose 40.940 Galactose 3.100 Glucose (dextrose) 35.750 Glutamic acid 8.753 Glycine 19.049 Histidine 0.662 Hydroxyproline 0.000 Iron, Fe 36.000 Isoleucine 1.158 Lactose 8.210 Leucine 2.454 Lutein + zeaxanthin 151.000 Lycopene 0.000 Lysine 3.460 Magnesium, Mg 519.000 Maltose 6.540
  119. 26/01/2013 08:36 Page 119 of 163 http://nbviewer.ipython.org/3904875/ Manganese, Mn 4.422

    Menaquinone-4 0.900 Methionine 0.606 Niacin 8.200 Pantothenic acid 2.238 Phenylalanine 1.737 Phosphorus, P 2368.000 Phytosterols 34.000 Potassium, K 2509.000 Proline 12.295 Protein 85.600 Retinol 314.000 Riboflavin 1.270 Selenium, Se 39.500 Serine 2.605 Sodium, Na 26050.000 Starch 15.300 Stigmasterol 38.000 Sucrose 99.800 Sugars, total 99.800 Theobromine 2634.000 Thiamin 0.444 Threonine 1.475 Tocopherol, beta 0.060 Tocopherol, delta 3.180 Tocopherol, gamma 9.190 Total lipid (fat) 52.310 Tryptophan 0.293 Tyrosine 0.735 Valine 2.081 Vitamin A, IU 1152.000 Vitamin A, RAE 319.000 Vitamin B-12 4.090 Vitamin B-12, added 0.050 Vitamin B-6 1.500 Vitamin C, total ascorbic acid 490.000 Vitamin D 47.000 Vitamin D (D2 + D3) 1.200 Vitamin D3 (cholecalciferol) 1.200 Vitamin E (alpha-tocopherol) 12.360 Vitamin E, added 0.000 Vitamin K (phylloquinone) 18.600 Water 96.900 Zinc, Zn 9.630 Vegetables and Vegetable Products Adjusted Protein 2.180 Alanine 4.515 Alcohol, ethyl 0.000 Arginine 4.147 Ash 23.400 Aspartic acid 5.793 Beta-sitosterol 20.000 Betaine 255.500 Caffeine 0.000 Calcium, Ca 813.000 Campesterol 20.000 Carbohydrate, by difference 85.510 Carotene, alpha 14251.000 Carotene, beta 42891.000 Cholesterol 118.000 Choline, total 201.700 Copper, Cu 6.100 Cryptoxanthin, beta 3471.000 Cystine 0.662
  120. 26/01/2013 08:36 Page 120 of 163 http://nbviewer.ipython.org/3904875/ Dihydrophylloquinone 28.200 Energy

    407.000 Fatty acids, total monounsaturated 11.338 Fatty acids, total polyunsaturated 7.516 Fatty acids, total saturated 8.585 Fatty acids, total trans 0.740 Fatty acids, total trans-monoenoic 0.171 Fatty acids, total trans-polyenoic 0.017 Fiber, total dietary 70.100 Fluoride, F 55.000 Folate, DFE 1010.000 Folate, food 1010.000 Folate, total 1010.000 Folic acid 53.000 Fructose 9.290 Galactose 0.850 Glucose (dextrose) 11.750 Glutamic acid 8.386 Glycine 3.099 Histidine 1.085 Hydroxyproline 0.000 Iron, Fe 53.900 Isoleucine 3.209 Lactose 1.510 Leucine 4.947 Lutein + zeaxanthin 39550.000 Lycopene 46260.000 Lysine 3.115 Magnesium, Mg 770.000 Maltose 6.710 Manganese, Mn 6.704 Menaquinone-4 0.300 Methionine 1.149 Niacin 97.000 Pantothenic acid 21.879 Phenylalanine 2.777 Phosphorus, P 548.000 Phytosterols 94.000 Potassium, K 6300.000 Proline 2.382 Protein 57.470 Retinol 120.000 Riboflavin 14.300 Selenium, Se 46.100 Serine 2.998 Sodium, Na 3600.000 Starch 70.600 Stigmasterol 3.000 Sucrose 6.020 Sugars, total 43.900 Theobromine 0.000 Thiamin 9.700 Threonine 2.970 Tocopherol, beta 0.170 Tocopherol, delta 3.570 Tocopherol, gamma 7.680 Total lipid (fat) 26.700 Tryptophan 0.929 Tyrosine 2.584 Valine 3.512 Vitamin A, IU 77261.000 Vitamin A, RAE 3863.000 Vitamin B-12 0.500
  121. 26/01/2013 08:36 Page 121 of 163 http://nbviewer.ipython.org/3904875/ In [212]: result.unstack('fgroup')#

    .swaplevel('fgroup', 'nname').sortlevel('fgroup') Vitamin B-12, added 0.000 Vitamin B-6 4.228 Vitamin C, total ascorbic acid 1900.000 Vitamin D 1123.000 Vitamin D (D2 + D3) 28.100 Vitamin D2 (ergocalciferol) 28.100 Vitamin D3 (cholecalciferol) 0.800 Vitamin E (alpha-tocopherol) 12.250 Vitamin E, added 0.000 Vitamin K (phylloquinone) 1640.000 Water 97.920 Zinc, Zn 7.660 Name: value, Length: 2246 Out[212]: fgroup nname Baby Foods Alanine 0.231000 Alcohol, ethyl 0.000000 Arginine 0.275974 Ash 1.167583 Aspartic acid 0.410410 Beta-sitosterol 0.000000 Betaine 3.507143 Caffeine 0.000000 Calcium, Ca 161.094787 Campesterol 0.000000 Carbohydrate, by difference 21.951137 Carotene, alpha 98.695876 Carotene, beta 288.056410 Cholesterol 5.232323 Choline, total 21.911340 Copper, Cu 0.138095 Cryptoxanthin, beta 3.706186 Cystine 0.074974 Dihydrophylloquinone 0.000000 Energy 163.853081 Fatty acids, total monounsaturated 2.316268 Fatty acids, total polyunsaturated 1.421283 Fatty acids, total saturated 2.877457 Fatty acids, total trans 0.006333 Fiber, total dietary 0.844000 Fluoride, F 17.623529 Folate, DFE 34.714286 Folate, food 5.943128 Folate, total 23.142180 Folic acid 17.280952 Fructose 0.988800 Galactose 0.008000 Glucose (dextrose) 5.539655 Glutamic acid 0.930385 Glycine 0.211154 Histidine 0.132128 Hydroxyproline 0.000000 Iron, Fe 4.933270 Isoleucine 0.213769 Lactose 13.842115 Leucine 0.380641 Lutein + zeaxanthin 56.355670 Lycopene 21.984536 Lysine 0.283026 Magnesium, Mg 20.663507
  122. 26/01/2013 08:36 Page 122 of 163 http://nbviewer.ipython.org/3904875/ Maltose 0.217200 Manganese,

    Mn 0.891361 Menaquinone-4 0.944444 Methionine 0.106564 Niacin 3.060479 Pantothenic acid 0.652215 Phenylalanine 0.214051 Phosphorus, P 116.042654 Potassium, K 201.100000 Proline 0.327949 Protein 4.293270 Retinol 105.458937 Riboflavin 0.322199 Selenium, Se 5.310345 Serine 0.196872 Sodium, Na 58.521327 Starch 5.000667 Stigmasterol 0.000000 Sucrose 1.012308 Sugars, total 15.071117 Theobromine 0.000000 Thiamin 0.272891 Threonine 0.185410 Tocopherol, beta 0.020625 Tocopherol, delta 0.135000 Tocopherol, gamma 0.240000 Total lipid (fat) 6.601564 Tryptophan 0.058282 Tyrosine 0.181974 Valine 0.257205 Vitamin A, IU 929.666667 Vitamin A, RAE 133.836538 Vitamin B-12 0.385308 Vitamin B-12, added 0.352161 Vitamin B-6 0.136417 Vitamin C, total ascorbic acid 18.362679 Vitamin D 72.394872 Vitamin D (D2 + D3) 1.808718 Vitamin D3 (cholecalciferol) 0.466667 Vitamin E (alpha-tocopherol) 1.803385 Vitamin E, added 1.490667 Vitamin K (phylloquinone) 12.200515 Water 66.004976 Zinc, Zn 1.336730 Baked Products Alanine 0.263233 Alcohol, ethyl 0.000000 Arginine 0.314973 Ash 2.516895 Aspartic acid 0.414468 Beta-sitosterol 17.000000 Betaine 30.405882 Caffeine 0.992063 Calcium, Ca 110.219008 Campesterol 6.500000 Carbohydrate, by difference 56.978790 Carotene, alpha 3.213115 Carotene, beta 36.505929 Cholesterol 15.315451 Choline, total 19.967886 Copper, Cu 0.150227 Cryptoxanthin, beta 0.823770 Cystine 0.141817 Dihydrophylloquinone 14.605556
  123. 26/01/2013 08:36 Page 123 of 163 http://nbviewer.ipython.org/3904875/ Energy 359.532258 Fatty

    acids, total monounsaturated 5.204525 Fatty acids, total polyunsaturated 2.657851 Fatty acids, total saturated 3.112418 Fatty acids, total trans 2.287000 Fatty acids, total trans-monoenoic 0.665615 Fatty acids, total trans-polyenoic 0.141667 Fiber, total dietary 2.905180 Fluoride, F 29.757143 Folate, DFE 103.317380 Folate, food 28.573494 Folate, total 71.107991 Folic acid 45.229219 Fructose 1.166170 Galactose 0.007105 Glucose (dextrose) 1.734468 Glutamic acid 1.966270 Glycine 0.256519 Histidine 0.155899 Hydroxyproline 0.000000 Iron, Fe 2.775571 Isoleucine 0.279423 Lactose 0.510851 Leucine 0.507772 Lutein + zeaxanthin 43.326446 Lycopene 1.487705 Lysine 0.253177 Magnesium, Mg 29.581609 Maltose 0.964681 Manganese, Mn 0.586411 Menaquinone-4 0.675000 Methionine 0.128587 Niacin 2.945783 Pantothenic acid 0.399842 Phenylalanine 0.336534 Phosphorus, P 206.162844 Phytosterols 18.166667 Potassium, K 214.646934 Proline 0.667315 Protein 6.734214 Retinol 33.681462 Riboflavin 0.259430 Selenium, Se 15.655733 Serine 0.355098 Sodium, Na 567.235887 Starch 40.305000 Stigmasterol 5.500000 Sucrose 10.118298 Sugars, total 18.627310 Theobromine 16.194444 Thiamin 0.321079 Threonine 0.224310 Tocopherol, beta 0.138684 Tocopherol, delta 1.547105 Tocopherol, gamma 5.223158 Total lipid (fat) 12.144919 Tryptophan 0.086857 Tyrosine 0.214566 Valine 0.326333 Vitamin A, IU 202.496760 Vitamin A, RAE 34.791563 Vitamin B-12 0.141540 Vitamin B-12, added 0.046481
  124. 26/01/2013 08:36 Page 124 of 163 http://nbviewer.ipython.org/3904875/ Vitamin B-6 0.121395

    Vitamin C, total ascorbic acid 0.350112 Vitamin D 2.197368 Vitamin D (D2 + D3) 0.055263 Vitamin E (alpha-tocopherol) 0.718516 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 6.866797 Water 21.464073 Zinc, Zn 0.822194 Beef Products Alanine 1.499070 Alcohol, ethyl 0.000000 Arginine 1.620246 Ash 1.107460 Aspartic acid 2.283145 Betaine 14.553219 Caffeine 0.000000 Calcium, Ca 13.893204 Carbohydrate, by difference 0.074013 Carotene, alpha 0.059675 Carotene, beta 1.414722 Cholesterol 98.444984 Choline, total 98.217891 Copper, Cu 0.159199 Cryptoxanthin, beta 0.081374 Cystine 0.296273 Dihydrophylloquinone 0.000000 Energy 215.783172 Fatty acids, total monounsaturated 5.417042 Fatty acids, total polyunsaturated 0.580280 Fatty acids, total saturated 4.887157 Fatty acids, total trans 0.552788 Fatty acids, total trans-monoenoic 0.519085 Fatty acids, total trans-polyenoic 0.051579 Fiber, total dietary 0.004369 Fluoride, F 22.123810 Folate, DFE 9.385502 Folate, food 9.400324 Folate, total 9.400324 Folic acid 0.000000 Fructose 0.000000 Galactose 0.000000 Glucose (dextrose) 0.000000 Glutamic acid 3.800319 Glycine 1.394594 Histidine 0.809935 Hydroxyproline 0.225330 Iron, Fe 2.569175 Isoleucine 1.127169 Lactose 0.000000 Leucine 2.007064 Lutein + zeaxanthin 0.000000 Lycopene 0.108499 Lysine 2.133181 Magnesium, Mg 21.702265 Maltose 0.000000 Manganese, Mn 0.017303 Menaquinone-4 1.986486 Methionine 0.662796 Niacin 4.920783 Pantothenic acid 0.639323 Phenylalanine 0.985614 Phosphorus, P 205.019417 Phytosterols 0.000000
  125. 26/01/2013 08:36 Page 125 of 163 http://nbviewer.ipython.org/3904875/ Potassium, K 316.566343

    Proline 1.141361 Protein 24.763560 Retinol 41.587387 Riboflavin 0.214065 Selenium, Se 27.107443 Serine 0.977860 Sodium, Na 72.250809 Sucrose 0.000000 Sugars, total 0.000000 Theobromine 0.000000 Thiamin 0.079430 Threonine 1.048035 Tocopherol, beta 0.000846 Tocopherol, delta 0.000923 Tocopherol, gamma 0.004962 Total lipid (fat) 12.330243 Tryptophan 0.218913 Tyrosine 0.827082 Valine 1.220286 Vitamin A, IU 126.720065 Vitamin A, RAE 38.135091 Vitamin B-12 3.081893 Vitamin B-12, added 0.000000 Vitamin B-6 0.424594 Vitamin C, total ascorbic acid 0.583172 Vitamin D 6.625000 Vitamin D (D2 + D3) 0.160484 Vitamin D3 (cholecalciferol) 0.160484 Vitamin E (alpha-tocopherol) 0.278164 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 1.468627 Water 61.950421 Zinc, Zn 5.869094 Beverages Alanine 0.053087 Alcohol, ethyl 4.112670 Arginine 0.033109 Ash 1.097302 Aspartic acid 0.103478 Betaine 0.484615 Caffeine 94.207447 Calcium, Ca 82.688797 Carbohydrate, by difference 21.299173 Carotene, alpha 0.948864 Carotene, beta 19.886364 Cholesterol 1.318386 Choline, total 11.333108 Copper, Cu 0.069022 Cryptoxanthin, beta 1.994318 Cystine 0.018978 Dihydrophylloquinone 0.000000 Energy 117.248201 Fatty acids, total monounsaturated 0.299799 Fatty acids, total polyunsaturated 0.088635 Fatty acids, total saturated 0.737132 Fatty acids, total trans 0.072571 Fatty acids, total trans-monoenoic 0.063167 Fatty acids, total trans-polyenoic 0.026500 Fiber, total dietary 0.637826 Fluoride, F 72.060759 Folate, DFE 5.330144 Folate, food 5.028571 Folate, total 5.159624
  126. 26/01/2013 08:36 Page 126 of 163 http://nbviewer.ipython.org/3904875/ Folic acid 0.162679

    Fructose 4.590000 Galactose 0.000000 Glucose (dextrose) 3.576429 Glutamic acid 0.318717 Glycine 0.050717 Histidine 0.032348 Hydroxyproline 0.000000 Iron, Fe 0.695294 Isoleucine 0.059087 Lactose 0.235882 Leucine 0.109277 Lutein + zeaxanthin 4.724138 Lycopene 18.585227 Lysine 0.061362 Magnesium, Mg 26.017167 Maltose 0.082727 Manganese, Mn 1.864316 Menaquinone-4 0.000000 Methionine 0.023362 Niacin 2.574733 Pantothenic acid 0.285146 Phenylalanine 0.059283 Phosphorus, P 79.424779 Phytosterols 0.000000 Potassium, K 299.845238 Proline 0.119500 Protein 1.336727 Retinol 105.698565 Riboflavin 0.256360 Selenium, Se 1.685377 Serine 0.052311 Sodium, Na 78.276680 Starch 1.821053 Sucrose 9.482308 Sugars, total 16.541810 Theobromine 28.180328 Thiamin 0.064921 Threonine 0.071396 Tocopherol, beta 0.005556 Tocopherol, delta 0.017000 Tocopherol, gamma 0.057000 Total lipid (fat) 0.991151 Tryptophan 0.025833 Tyrosine 0.051891 Valine 0.073022 Vitamin A, IU 482.901288 Vitamin A, RAE 107.425837 Vitamin B-12 0.147430 Vitamin B-12, added 0.071207 Vitamin B-6 0.193618 Vitamin C, total ascorbic acid 43.872881 Vitamin D 16.699301 Vitamin D (D2 + D3) 0.417483 Vitamin D2 (ergocalciferol) 1.000000 Vitamin E (alpha-tocopherol) 0.198073 Vitamin E, added 0.050736 Vitamin K (phylloquinone) 0.360571 Water 71.723993 Zinc, Zn 0.239386 Breakfast Cereals Alanine 0.340753 Alcohol, ethyl 0.000000 Arginine 0.345178
  127. 26/01/2013 08:36 Page 127 of 163 http://nbviewer.ipython.org/3904875/ Ash 2.499727 Aspartic

    acid 0.513767 Betaine 65.183333 Caffeine 0.206406 Calcium, Ca 154.164179 Carbohydrate, by difference 67.871712 Carotene, alpha 5.284173 Carotene, beta 31.363958 Cholesterol 0.170984 Choline, total 19.908676 Copper, Cu 0.214207 Cryptoxanthin, beta 1.140288 Cystine 0.128384 Dihydrophylloquinone 0.020000 Energy 318.248139 Fatty acids, total monounsaturated 1.228054 Fatty acids, total polyunsaturated 1.211910 Fatty acids, total saturated 0.801997 Fatty acids, total trans 0.058274 Fatty acids, total trans-monoenoic 0.006040 Fatty acids, total trans-polyenoic 0.016040 Fiber, total dietary 6.431592 Fluoride, F 40.640000 Folate, DFE 574.970326 Folate, food 33.603448 Folate, total 355.026596 Folic acid 326.813609 Fructose 1.079778 Galactose 0.007174 Glucose (dextrose) 1.323778 Glutamic acid 1.702151 Glycine 0.292932 Histidine 0.162411 Hydroxyproline 0.000000 Iron, Fe 13.990075 Isoleucine 0.251233 Lactose 0.000000 Leucine 0.574699 Lutein + zeaxanthin 153.248175 Lycopene 0.000000 Lysine 0.203889 Magnesium, Mg 66.851562 Maltose 0.776444 Manganese, Mn 1.667613 Menaquinone-4 0.000000 Methionine 0.117630 Niacin 12.783119 Pantothenic acid 1.343219 Phenylalanine 0.334425 Phosphorus, P 208.161954 Phytosterols 4.000000 Potassium, K 252.698254 Proline 0.571178 Protein 7.602556 Retinol 351.579755 Riboflavin 1.057749 Selenium, Se 14.934395 Serine 0.334110 Sodium, Na 367.019851 Starch 38.527143 Sucrose 5.954600 Sugars, total 20.407432 Theobromine 3.775801
  128. 26/01/2013 08:36 Page 128 of 163 http://nbviewer.ipython.org/3904875/ Thiamin 1.021000 Threonine

    0.219562 Tocopherol, beta 0.025758 Tocopherol, delta 0.013636 Tocopherol, gamma 0.331212 Total lipid (fat) 3.633871 Tryptophan 0.081753 Tyrosine 0.185014 Valine 0.327137 Vitamin A, IU 1148.400510 Vitamin A, RAE 333.895954 Vitamin B-12 3.154661 Vitamin B-12, added 4.127409 Vitamin B-6 1.389213 Vitamin C, total ascorbic acid 15.518546 Vitamin D 66.493289 Vitamin D (D2 + D3) 1.659732 Vitamin D3 (cholecalciferol) 4.050000 Vitamin E (alpha-tocopherol) 3.332178 Vitamin E, added 2.341743 Vitamin K (phylloquinone) 1.657241 Water 18.393201 Zinc, Zn 6.068359 Cereal Grains and Pasta Alanine 0.392688 Alcohol, ethyl 0.000000 Arginine 0.434488 Ash 1.233770 Aspartic acid 0.525524 Betaine 64.500000 Caffeine 0.000000 Calcium, Ca 38.983607 Carbohydrate, by difference 58.314754 Carotene, alpha 4.594059 Carotene, beta 12.386139 Cholesterol 3.839080 Choline, total 19.259756 Copper, Cu 0.227709 Cryptoxanthin, beta 0.118812 Cystine 0.189964 Dihydrophylloquinone 0.111111 Energy 285.142077 Fatty acids, total monounsaturated 0.535602 Fatty acids, total polyunsaturated 0.970801 Fatty acids, total saturated 0.401722 Fatty acids, total trans 0.014000 Fatty acids, total trans-monoenoic 0.001529 Fatty acids, total trans-polyenoic 0.038333 Fiber, total dietary 5.617610 Fluoride, F 13.871429 Folate, DFE 113.602273 Folate, food 27.286517 Folate, total 78.252809 Folic acid 50.801136 Fructose 0.069636 Galactose 0.000000 Glucose (dextrose) 0.196545 Glutamic acid 2.400512 Glycine 0.353947 Histidine 0.203359 Hydroxyproline 0.000000 Iron, Fe 2.722842 Isoleucine 0.329112 Lactose 0.000000
  129. 26/01/2013 08:36 Page 129 of 163 http://nbviewer.ipython.org/3904875/ Leucine 0.681635 Lutein

    + zeaxanthin 235.514851 Lycopene 2.425743 Lysine 0.252759 Magnesium, Mg 68.956044 Maltose 0.679608 Manganese, Mn 1.387326 Menaquinone-4 0.214286 Methionine 0.155318 Niacin 3.470410 Pantothenic acid 0.607509 Phenylalanine 0.425071 Phosphorus, P 202.775956 Phytosterols 9.000000 Potassium, K 194.016393 Proline 0.795759 Protein 9.106831 Retinol 0.726190 Riboflavin 0.176699 Selenium, Se 23.950000 Serine 0.423235 Sodium, Na 104.240437 Starch 54.308696 Sucrose 0.377119 Sugars, total 0.959817 Theobromine 0.000000 Thiamin 0.383060 Threonine 0.273076 Tocopherol, beta 0.075536 Tocopherol, delta 0.051228 Tocopherol, gamma 0.946491 Total lipid (fat) 2.255519 Tryptophan 0.105296 Tyrosine 0.235435 Valine 0.411459 Vitamin A, IU 29.566474 Vitamin A, RAE 1.982456 Vitamin B-12 0.015747 Vitamin B-12, added 0.000000 Vitamin B-6 0.219610 Vitamin C, total ascorbic acid 0.046857 Vitamin D 0.213836 Vitamin D (D2 + D3) 0.005660 Vitamin E (alpha-tocopherol) 0.440252 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 3.322018 Water 29.087814 Zinc, Zn 1.487363 Dairy and Egg Products Alanine 0.455776 Alcohol, ethyl 0.000000 Arginine 0.510179 Ash 2.786798 Aspartic acid 0.948962 Beta-sitosterol 0.000000 Betaine 0.947500 Caffeine 0.482558 Calcium, Ca 376.928854 Campesterol 0.000000 Carbohydrate, by difference 11.937470 Carotene, alpha 0.000000 Carotene, beta 24.154696 Cholesterol 61.656126 Choline, total 47.353714
  130. 26/01/2013 08:36 Page 130 of 163 http://nbviewer.ipython.org/3904875/ Copper, Cu 0.062955

    Cryptoxanthin, beta 0.808989 Cystine 0.118346 Dihydrophylloquinone 0.013636 Energy 195.988142 Fatty acids, total monounsaturated 2.987764 Fatty acids, total polyunsaturated 0.496450 Fatty acids, total saturated 6.413763 Fatty acids, total trans 0.462500 Fatty acids, total trans-monoenoic 0.490333 Fatty acids, total trans-polyenoic 0.112333 Fiber, total dietary 0.059109 Fluoride, F 18.840000 Folate, DFE 22.691589 Folate, food 16.140187 Folate, total 19.995327 Folic acid 3.855140 Fructose 0.001364 Galactose 0.024545 Glucose (dextrose) 0.055909 Glutamic acid 2.804679 Glycine 0.265590 Histidine 0.413276 Hydroxyproline 0.009000 Iron, Fe 0.523083 Isoleucine 0.743199 Lactose 3.147600 Leucine 1.283615 Lutein + zeaxanthin 30.747191 Lycopene 0.000000 Lysine 1.122192 Magnesium, Mg 28.350000 Maltose 0.019200 Manganese, Mn 0.023024 Menaquinone-4 3.390000 Methionine 0.364327 Niacin 0.377945 Pantothenic acid 0.778553 Phenylalanine 0.680327 Phosphorus, P 354.438735 Phytosterols 11.052632 Potassium, K 283.581028 Proline 1.355590 Protein 13.562292 Retinol 128.414747 Riboflavin 0.345818 Selenium, Se 11.047005 Serine 0.778250 Sodium, Na 459.648221 Starch 0.562500 Stigmasterol 0.000000 Sucrose 0.106800 Sugars, total 10.123271 Theobromine 5.622093 Thiamin 0.073382 Threonine 0.554897 Tocopherol, beta 0.003529 Tocopherol, delta 0.006486 Tocopherol, gamma 0.098649 Total lipid (fat) 10.426838 Tryptophan 0.186776 Tyrosine 0.666295 Valine 0.904558
  131. 26/01/2013 08:36 Page 131 of 163 http://nbviewer.ipython.org/3904875/ Vitamin A, IU

    489.584980 Vitamin A, RAE 128.695455 Vitamin B-12 1.025345 Vitamin B-12, added 0.020930 Vitamin B-6 0.103950 Vitamin C, total ascorbic acid 1.808907 Vitamin D 37.821053 Vitamin D (D2 + D3) 0.948421 Vitamin D2 (ergocalciferol) 1.100000 Vitamin D3 (cholecalciferol) 1.235606 Vitamin E (alpha-tocopherol) 0.404365 Vitamin E, added 0.160407 Vitamin K (phylloquinone) 2.491011 Water 61.305692 Zinc, Zn 1.796043 Ethnic Foods Alanine 1.549114 Alcohol, ethyl 0.000000 Arginine 1.557771 Ash 1.651636 Aspartic acid 2.281528 Beta-sitosterol 4.000000 Betaine 30.707143 Caffeine 0.000000 Calcium, Ca 70.256944 Campesterol 1.000000 Carbohydrate, by difference 11.242970 Carotene, alpha 6.517857 Carotene, beta 182.473684 Cholesterol 88.471429 Choline, total 89.375862 Copper, Cu 0.201703 Cryptoxanthin, beta 19.210526 Cystine 0.244111 Dihydrophylloquinone 0.160606 Energy 209.036364 Fatty acids, total monounsaturated 4.654376 Fatty acids, total polyunsaturated 2.220419 Fatty acids, total saturated 1.989233 Fatty acids, total trans 0.033235 Fatty acids, total trans-monoenoic 0.016154 Fatty acids, total trans-polyenoic 0.011923 Fiber, total dietary 4.170588 Folate, DFE 29.309524 Folate, food 19.636364 Folate, total 25.194805 Folic acid 9.953488 Fructose 1.193133 Galactose 0.000000 Glucose (dextrose) 0.568554 Glutamic acid 3.620000 Glycine 1.349147 Histidine 0.756778 Hydroxyproline 0.117857 Iron, Fe 4.997651 Isoleucine 1.066361 Lactose 0.000000 Leucine 2.029629 Lutein + zeaxanthin 369.061224 Lycopene 119.298246 Lysine 1.971286 Magnesium, Mg 44.049020 Maltose 0.192410 Manganese, Mn 0.383535
  132. 26/01/2013 08:36 Page 132 of 163 http://nbviewer.ipython.org/3904875/ Menaquinone-4 0.530233 Methionine

    0.655667 Niacin 3.665610 Pantothenic acid 0.811850 Phenylalanine 1.041457 Phosphorus, P 205.671233 Phytosterols 0.000000 Potassium, K 347.768519 Proline 1.182314 Protein 15.996061 Retinol 83.500000 Riboflavin 0.275182 Selenium, Se 43.917808 Serine 1.038171 Sodium, Na 160.234234 Starch 10.871579 Stigmasterol 2.000000 Sucrose 0.793373 Sugars, total 2.700482 Theobromine 0.000000 Thiamin 0.111444 Threonine 1.076200 Tocopherol, beta 0.099178 Tocopherol, delta 0.080000 Tocopherol, gamma 0.449054 Total lipid (fat) 11.109758 Tryptophan 0.337595 Tyrosine 0.800714 Valine 1.202343 Vitamin A, IU 3079.725806 Vitamin A, RAE 80.757143 Vitamin B-12 6.823571 Vitamin B-12, added 0.000000 Vitamin B-6 0.268663 Vitamin C, total ascorbic acid 12.646392 Vitamin D 96.882353 Vitamin D (D2 + D3) 2.417647 Vitamin E (alpha-tocopherol) 1.659221 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 15.314706 Water 59.890909 Zinc, Zn 2.063824 Fast Foods Alanine 0.580446 Alcohol, ethyl 0.000000 Arginine 0.631418 Ash 2.030055 Aspartic acid 0.922457 Betaine 19.100000 Caffeine 0.275862 Calcium, Ca 89.410959 Carbohydrate, by difference 22.933041 Carotene, alpha 0.811594 Carotene, beta 48.291139 Cholesterol 50.660057 Choline, total 46.108108 Copper, Cu 0.112905 Cryptoxanthin, beta 0.811594 Cystine 0.156164 Dihydrophylloquinone 7.434545 Energy 250.010959 Fatty acids, total monounsaturated 4.799942 Fatty acids, total polyunsaturated 2.347142 Fatty acids, total saturated 4.337019
  133. 26/01/2013 08:36 Page 133 of 163 http://nbviewer.ipython.org/3904875/ Fatty acids, total

    trans 0.507538 Fatty acids, total trans-monoenoic 0.366449 Fatty acids, total trans-polyenoic 0.069784 Fiber, total dietary 1.396653 Fluoride, F 28.150000 Folate, DFE 58.469945 Folate, food 20.094340 Folate, total 43.849057 Folic acid 21.846995 Fructose 1.421610 Galactose 0.045928 Glucose (dextrose) 1.512864 Glutamic acid 2.605777 Glycine 0.634790 Histidine 0.322116 Hydroxyproline 0.388067 Iron, Fe 1.596795 Isoleucine 0.480755 Lactose 0.682611 Leucine 0.895275 Lutein + zeaxanthin 49.859649 Lycopene 506.517241 Lysine 0.716272 Magnesium, Mg 22.042493 Maltose 0.674179 Manganese, Mn 0.211617 Menaquinone-4 2.852000 Methionine 0.239562 Niacin 3.137060 Pantothenic acid 0.618968 Phenylalanine 0.520569 Phosphorus, P 164.169972 Phytosterols 6.500000 Potassium, K 207.977465 Proline 0.904703 Protein 11.294986 Retinol 38.853982 Riboflavin 0.220802 Selenium, Se 18.067647 Serine 0.534258 Sodium, Na 517.372603 Starch 19.171639 Sucrose 2.335172 Sugars, total 6.563255 Theobromine 4.620690 Thiamin 0.178629 Threonine 0.431545 Tocopherol, beta 0.178646 Tocopherol, delta 0.931771 Tocopherol, gamma 2.266771 Total lipid (fat) 12.809808 Tryptophan 0.124777 Tyrosine 0.382494 Valine 0.564348 Vitamin A, IU 291.462838 Vitamin A, RAE 44.563636 Vitamin B-12 0.610181 Vitamin B-12, added 0.010545 Vitamin B-6 0.161377 Vitamin C, total ascorbic acid 3.888350 Vitamin D 6.447761 Vitamin D (D2 + D3) 0.158209 Vitamin D3 (cholecalciferol) 0.200000
  134. 26/01/2013 08:36 Page 134 of 163 http://nbviewer.ipython.org/3904875/ Vitamin E (alpha-tocopherol)

    0.863559 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 8.902190 Water 50.871452 Zinc, Zn 1.336818 Fats and Oils Alanine 0.128000 Alcohol, ethyl 0.969014 Arginine 0.115692 Ash 2.248058 Aspartic acid 0.288385 Beta-sitosterol 220.272727 Betaine 0.354545 Caffeine 0.000000 Calcium, Ca 58.268041 Campesterol 98.000000 Carbohydrate, by difference 9.235049 Carotene, alpha 0.314286 Carotene, beta 121.457143 Cholesterol 45.144330 Choline, total 8.906250 Copper, Cu 0.063000 Cryptoxanthin, beta 2.257143 Cystine 0.027846 Dihydrophylloquinone 20.000000 Energy 540.582524 Fatty acids, total monounsaturated 22.921131 Fatty acids, total polyunsaturated 19.436788 Fatty acids, total saturated 12.451578 Fatty acids, total trans 4.366143 Fatty acids, total trans-monoenoic 4.738500 Fatty acids, total trans-polyenoic 0.732500 Fiber, total dietary 1.683673 Fluoride, F 13.700000 Folate, DFE 19.989247 Folate, food 19.989247 Folate, total 19.989247 Folic acid 0.000000 Fructose 0.462500 Galactose 0.072500 Glucose (dextrose) 0.897500 Glutamic acid 0.283308 Glycine 0.116231 Histidine 0.051038 Hydroxyproline 0.000000 Iron, Fe 2.514747 Isoleucine 0.105538 Lactose 0.295000 Leucine 0.190615 Lutein + zeaxanthin 10.585714 Lycopene 92.000000 Lysine 0.112846 Magnesium, Mg 20.021053 Maltose 0.345000 Manganese, Mn 0.579167 Menaquinone-4 0.242857 Methionine 0.037154 Niacin 0.245179 Pantothenic acid 0.177731 Phenylalanine 0.126692 Phosphorus, P 27.421053 Phytosterols 498.103448 Potassium, K 104.768421 Proline 0.108000
  135. 26/01/2013 08:36 Page 135 of 163 http://nbviewer.ipython.org/3904875/ Protein 1.063883 Retinol

    485.417582 Riboflavin 0.058844 Selenium, Se 0.725301 Serine 0.102077 Sodium, Na 565.737864 Starch 3.820000 Stigmasterol 24.545455 Sucrose 2.020000 Sugars, total 4.281169 Theobromine 0.000000 Thiamin 0.018526 Threonine 0.103769 Tocopherol, beta 0.255714 Tocopherol, delta 7.865500 Tocopherol, gamma 28.007273 Total lipid (fat) 56.080777 Tryptophan 0.038192 Tyrosine 0.078000 Valine 0.127192 Vitamin A, IU 2349.850000 Vitamin A, RAE 506.107527 Vitamin B-12 0.281413 Vitamin B-12, added 0.000000 Vitamin B-6 0.154642 Vitamin C, total ascorbic acid 2.614583 Vitamin D 190.438356 Vitamin D (D2 + D3) 4.757534 Vitamin D3 (cholecalciferol) 2.500000 Vitamin E (alpha-tocopherol) 9.790247 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 49.914865 Water 30.704369 Zinc, Zn 0.190737 Finfish and Shellfish Products Alanine 1.230061 Alcohol, ethyl 0.000000 Arginine 1.317955 Ash 1.906118 Aspartic acid 2.093178 Betaine 10.100000 Caffeine 0.000000 Calcium, Ca 48.627451 Carbohydrate, by difference 1.337373 Carotene, alpha 0.000000 Carotene, beta 0.214876 Cholesterol 71.717647 Choline, total 82.249565 Copper, Cu 0.285871 Cryptoxanthin, beta 0.008264 Cystine 0.225394 Dihydrophylloquinone 0.285714 Energy 135.243137 Fatty acids, total monounsaturated 1.762541 Fatty acids, total polyunsaturated 1.224264 Fatty acids, total saturated 1.064037 Fatty acids, total trans 0.046342 Fatty acids, total trans-monoenoic 0.058211 Fatty acids, total trans-polyenoic 0.008526 Fiber, total dietary 0.013889 Fluoride, F 75.861538 Folate, DFE 14.976471 Folate, food 13.909804 Folate, total 14.541176
  136. 26/01/2013 08:36 Page 136 of 163 http://nbviewer.ipython.org/3904875/ Folic acid 0.639216

    Fructose 0.032121 Galactose 0.004194 Glucose (dextrose) 0.221852 Glutamic acid 3.081636 Glycine 1.026522 Histidine 0.558652 Hydroxyproline 0.042000 Iron, Fe 1.522627 Isoleucine 0.941263 Lactose 0.000000 Leucine 1.643749 Lutein + zeaxanthin 7.677686 Lycopene 11.553719 Lysine 1.825891 Magnesium, Mg 39.482353 Maltose 0.037273 Manganese, Mn 0.171442 Menaquinone-4 0.496875 Methionine 0.595280 Niacin 4.311576 Pantothenic acid 0.668116 Phenylalanine 0.806700 Phosphorus, P 245.160784 Phytosterols 3.000000 Potassium, K 350.917647 Proline 0.752512 Protein 20.326510 Retinol 55.489796 Riboflavin 0.151035 Selenium, Se 39.761660 Serine 0.850061 Sodium, Na 301.588235 Starch 1.358182 Sucrose 0.162273 Sugars, total 0.166667 Theobromine 0.000000 Thiamin 0.093282 Threonine 0.894433 Tocopherol, beta 0.004528 Tocopherol, delta 0.090377 Tocopherol, gamma 0.245660 Total lipid (fat) 4.811961 Tryptophan 0.235642 Tyrosine 0.701862 Valine 1.034150 Vitamin A, IU 182.803922 Vitamin A, RAE 54.420000 Vitamin B-12 4.897333 Vitamin B-12, added 0.000000 Vitamin B-6 0.284271 Vitamin C, total ascorbic acid 1.353725 Vitamin D 210.486957 Vitamin D (D2 + D3) 5.261739 Vitamin D3 (cholecalciferol) 5.140708 Vitamin E (alpha-tocopherol) 1.175242 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 1.156911 Water 71.648824 Zinc, Zn 2.918000 Fruits and Fruit Juices Alanine 0.044258 Alcohol, ethyl 0.000000 Arginine 0.042294
  137. 26/01/2013 08:36 Page 137 of 163 http://nbviewer.ipython.org/3904875/ Ash 0.586646 Aspartic

    acid 0.150975 Beta-sitosterol 52.000000 Betaine 0.251064 Caffeine 0.000000 Calcium, Ca 21.021341 Campesterol 3.666667 Carbohydrate, by difference 21.343720 Carotene, alpha 12.484979 Carotene, beta 152.544681 Cholesterol 0.000000 Choline, total 6.112919 Copper, Cu 0.099180 Cryptoxanthin, beta 53.883117 Cystine 0.008727 Dihydrophylloquinone 0.014035 Energy 85.929878 Fatty acids, total monounsaturated 0.239317 Fatty acids, total polyunsaturated 0.119638 Fatty acids, total saturated 0.092629 Fatty acids, total trans 0.027900 Fatty acids, total trans-monoenoic 0.024125 Fatty acids, total trans-polyenoic 0.009625 Fiber, total dietary 2.357860 Fluoride, F 27.426316 Folate, DFE 9.727891 Folate, food 9.883333 Folate, total 9.883333 Folic acid 0.000000 Fructose 5.448144 Galactose 0.016790 Glucose (dextrose) 5.605361 Glutamic acid 0.108153 Glycine 0.032301 Histidine 0.016620 Iron, Fe 0.618869 Isoleucine 0.024445 Lactose 0.000119 Leucine 0.042274 Lutein + zeaxanthin 68.339367 Lycopene 82.936937 Lysine 0.037959 Magnesium, Mg 13.873846 Maltose 0.164157 Manganese, Mn 0.207112 Menaquinone-4 0.040000 Methionine 0.011012 Niacin 0.528901 Pantothenic acid 0.172170 Phenylalanine 0.027598 Phosphorus, P 22.405488 Phytosterols 13.894737 Potassium, K 215.963303 Proline 0.054411 Protein 0.868262 Retinol 0.000000 Riboflavin 0.046464 Selenium, Se 0.400413 Serine 0.037405 Sodium, Na 15.363914 Starch 1.840909 Stigmasterol 1.333333 Sucrose 2.628333
  138. 26/01/2013 08:36 Page 138 of 163 http://nbviewer.ipython.org/3904875/ Sugars, total 16.297949

    Theobromine 0.000000 Thiamin 0.038065 Threonine 0.026872 Tocopherol, beta 0.008088 Tocopherol, delta 0.043043 Tocopherol, gamma 0.136765 Total lipid (fat) 0.554909 Tryptophan 0.009000 Tyrosine 0.017323 Valine 0.034476 Vitamin A, IU 402.470219 Vitamin A, RAE 20.201893 Vitamin B-12 0.000000 Vitamin B-12, added 0.000000 Vitamin B-6 0.075401 Vitamin C, total ascorbic acid 30.085583 Vitamin D 0.202952 Vitamin D (D2 + D3) 0.005166 Vitamin D3 (cholecalciferol) 0.700000 Vitamin E (alpha-tocopherol) 0.384089 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 4.208969 Water 76.647835 Zinc, Zn 0.143196 Lamb, Veal, and Game Products Alanine 1.395436 Alcohol, ethyl 0.000000 Arginine 1.408166 Ash 1.172986 Aspartic acid 2.065683 Betaine 13.760000 Caffeine 0.000000 Calcium, Ca 15.371014 Carbohydrate, by difference 0.133217 Carotene, alpha 0.411765 Carotene, beta 1.152941 Cholesterol 146.268437 Choline, total 118.723529 Copper, Cu 0.335264 Cryptoxanthin, beta 0.447059 Cystine 0.269590 Dihydrophylloquinone 0.001613 Energy 213.304348 Fatty acids, total monounsaturated 4.909499 Fatty acids, total polyunsaturated 0.887153 Fatty acids, total saturated 5.351578 Fatty acids, total trans 0.245000 Fiber, total dietary 0.001761 Fluoride, F 19.333333 Folate, DFE 18.248201 Folate, food 18.147482 Folate, total 18.205036 Folic acid 0.057554 Fructose 0.230000 Galactose 0.000000 Glucose (dextrose) 0.170000 Glutamic acid 3.449576 Glycine 1.189183 Histidine 0.764139 Hydroxyproline 0.306083 Iron, Fe 2.546735 Isoleucine 1.106110 Lactose 0.000000
  139. 26/01/2013 08:36 Page 139 of 163 http://nbviewer.ipython.org/3904875/ Leucine 1.838125 Lutein

    + zeaxanthin 0.000000 Lycopene 0.000000 Lysine 1.986958 Magnesium, Mg 22.526471 Maltose 0.180000 Manganese, Mn 0.032865 Methionine 0.573507 Niacin 6.314050 Pantothenic acid 0.975224 Phenylalanine 0.952173 Phosphorus, P 213.910145 Phytosterols 3.000000 Potassium, K 286.766764 Proline 1.007223 Protein 23.424667 Retinol 270.145390 Riboflavin 0.380632 Selenium, Se 18.665797 Serine 0.892238 Sodium, Na 73.918367 Starch 5.490000 Sucrose 0.000000 Sugars, total 0.013412 Theobromine 0.000000 Thiamin 0.117067 Threonine 1.004812 Tocopherol, beta 0.001429 Tocopherol, delta 0.005714 Tocopherol, gamma 0.031000 Total lipid (fat) 12.506609 Tryptophan 0.257544 Tyrosine 0.773162 Valine 1.240457 Vitamin A, IU 891.873684 Vitamin A, RAE 270.202128 Vitamin B-12 4.967795 Vitamin B-12, added 0.000000 Vitamin B-6 0.263396 Vitamin C, total ascorbic acid 2.341901 Vitamin D 0.676923 Vitamin D (D2 + D3) 0.033846 Vitamin D3 (cholecalciferol) 0.033846 Vitamin E (alpha-tocopherol) 0.281359 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 3.750000 Water 62.955913 Zinc, Zn 4.098909 Legumes and Legume Products Alanine 0.780855 Alcohol, ethyl 0.000000 Arginine 1.433920 Ash 2.426575 Aspartic acid 2.156490 Beta-sitosterol 47.000000 Betaine 1.767742 Caffeine 0.066116 Calcium, Ca 96.865753 Campesterol 6.000000 Carbohydrate, by difference 20.385123 Carotene, alpha 0.000000 Carotene, beta 15.416058 Cholesterol 0.551821 Choline, total 55.322951
  140. 26/01/2013 08:36 Page 140 of 163 http://nbviewer.ipython.org/3904875/ Copper, Cu 0.587093

    Cryptoxanthin, beta 0.328467 Cystine 0.227271 Dihydrophylloquinone 0.175000 Energy 204.252055 Fatty acids, total monounsaturated 3.196570 Fatty acids, total polyunsaturated 3.457788 Fatty acids, total saturated 1.237144 Fatty acids, total trans 0.034331 Fatty acids, total trans-monoenoic 0.005300 Fatty acids, total trans-polyenoic 0.036600 Fiber, total dietary 6.099413 Fluoride, F 9.990000 Folate, DFE 156.699571 Folate, food 132.992620 Folate, total 134.889299 Folic acid 2.206009 Fructose 0.430417 Galactose 0.014783 Glucose (dextrose) 0.766667 Glutamic acid 3.336460 Glycine 0.814490 Histidine 0.487877 Hydroxyproline 0.004000 Iron, Fe 3.257830 Isoleucine 0.802768 Lactose 0.002500 Leucine 1.389079 Lutein + zeaxanthin 1.340741 Lycopene 23.029412 Lysine 1.093335 Magnesium, Mg 87.631944 Maltose 0.028750 Manganese, Mn 1.094531 Methionine 0.232202 Niacin 3.816482 Pantothenic acid 0.677053 Phenylalanine 0.949030 Phosphorus, P 232.041009 Phytosterols 86.944444 Potassium, K 487.877193 Proline 0.913270 Protein 15.330548 Retinol 14.716738 Riboflavin 0.202386 Selenium, Se 6.381124 Serine 0.965910 Sodium, Na 339.128767 Starch 10.539130 Stigmasterol 4.000000 Sucrose 2.628333 Sugars, total 3.705597 Theobromine 0.694215 Thiamin 0.672580 Threonine 0.696385 Tocopherol, beta 0.062400 Tocopherol, delta 0.436400 Tocopherol, gamma 3.545200 Total lipid (fat) 7.820767 Tryptophan 0.220433 Tyrosine 0.624435 Valine 0.877640 Vitamin A, IU 126.370787
  141. 26/01/2013 08:36 Page 141 of 163 http://nbviewer.ipython.org/3904875/ Vitamin A, RAE

    15.283439 Vitamin B-12 0.806911 Vitamin B-12, added 0.339292 Vitamin B-6 0.304680 Vitamin C, total ascorbic acid 2.558523 Vitamin D 5.142857 Vitamin D (D2 + D3) 0.127027 Vitamin D2 (ergocalciferol) 1.090000 Vitamin E (alpha-tocopherol) 2.119214 Vitamin E, added 0.678938 Vitamin K (phylloquinone) 5.228467 Water 54.042822 Zinc, Zn 2.012952 Meals, Entrees, and Sidedishes Alanine 0.319136 Alcohol, ethyl 0.000000 Arginine 0.351682 Ash 2.298947 Aspartic acid 0.547455 Betaine 16.646154 Caffeine 0.000000 Calcium, Ca 59.382979 Carbohydrate, by difference 22.597368 Carotene, alpha 133.913043 Carotene, beta 380.000000 Cholesterol 11.071429 Choline, total 19.573077 Copper, Cu 0.163152 Cryptoxanthin, beta 6.347826 Cystine 0.112600 Dihydrophylloquinone 2.109091 Energy 156.192982 Fatty acids, total monounsaturated 1.885279 Fatty acids, total polyunsaturated 0.908233 Fatty acids, total saturated 1.616930 Fatty acids, total trans 0.048077 Fatty acids, total trans-monoenoic 0.119500 Fatty acids, total trans-polyenoic 0.046000 Fiber, total dietary 2.045455 Fluoride, F 50.750000 Folate, DFE 75.478261 Folate, food 15.217391 Folate, total 41.743590 Folic acid 35.434783 Fructose 0.558636 Galactose 0.000000 Glucose (dextrose) 0.723810 Glutamic acid 1.847818 Glycine 0.304545 Histidine 0.197273 Hydroxyproline 0.013000 Iron, Fe 1.435510 Isoleucine 0.301409 Lactose 0.909474 Leucine 0.565773 Lutein + zeaxanthin 79.739130 Lycopene 1596.434783 Lysine 0.380318 Magnesium, Mg 18.902439 Maltose 1.504000 Manganese, Mn 0.280719 Menaquinone-4 2.342857 Methionine 0.140238 Niacin 1.832644
  142. 26/01/2013 08:36 Page 142 of 163 http://nbviewer.ipython.org/3904875/ Pantothenic acid 0.308172

    Phenylalanine 0.339273 Phosphorus, P 89.292683 Phytosterols 0.000000 Potassium, K 192.268293 Proline 0.724909 Protein 6.252105 Retinol 15.217391 Riboflavin 0.174978 Selenium, Se 12.818182 Serine 0.349318 Sodium, Na 448.087719 Starch 14.630000 Sucrose 0.826500 Sugars, total 3.865306 Theobromine 0.000000 Thiamin 0.182400 Threonine 0.270182 Tocopherol, beta 0.565000 Tocopherol, delta 0.220000 Tocopherol, gamma 0.772500 Total lipid (fat) 4.544035 Tryptophan 0.099200 Tyrosine 0.212429 Valine 0.348045 Vitamin A, IU 574.536585 Vitamin A, RAE 49.125000 Vitamin B-12 0.269231 Vitamin B-12, added 0.016842 Vitamin B-6 0.087098 Vitamin C, total ascorbic acid 3.542222 Vitamin D 7.172414 Vitamin D (D2 + D3) 0.179310 Vitamin E (alpha-tocopherol) 0.316552 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 7.244444 Water 64.317895 Zinc, Zn 0.716585 Nut and Seed Products Alanine 0.736429 Alcohol, ethyl 0.000000 Arginine 1.915317 Ash 3.040703 Aspartic acid 1.613294 Beta-sitosterol 113.035714 Betaine 3.395238 Caffeine 0.000000 Calcium, Ca 134.945312 Campesterol 7.321429 Carbohydrate, by difference 29.366953 Carotene, alpha 0.157895 Carotene, beta 22.333333 Cholesterol 0.000000 Choline, total 42.992157 Copper, Cu 1.126555 Cryptoxanthin, beta 0.215686 Cystine 0.274254 Dihydrophylloquinone 0.000000 Energy 490.093750 Fatty acids, total monounsaturated 16.601484 Fatty acids, total polyunsaturated 11.915500 Fatty acids, total saturated 7.555047 Fatty acids, total trans 0.032000 Fatty acids, total trans-monoenoic 0.021167
  143. 26/01/2013 08:36 Page 143 of 163 http://nbviewer.ipython.org/3904875/ Fatty acids, total

    trans-polyenoic 0.025818 Fiber, total dietary 8.701075 Fluoride, F 6.700000 Folate, DFE 77.740157 Folate, food 77.740157 Folate, total 77.740157 Folic acid 0.000000 Fructose 0.053659 Galactose 0.002778 Glucose (dextrose) 0.121707 Glutamic acid 3.389492 Glycine 0.877198 Histidine 0.413119 Hydroxyproline 0.058333 Iron, Fe 4.303543 Isoleucine 0.635960 Lactose 0.000000 Leucine 1.115730 Lutein + zeaxanthin 95.254902 Lycopene 0.000000 Lysine 0.618190 Magnesium, Mg 199.330709 Maltose 0.031951 Manganese, Mn 2.217102 Menaquinone-4 0.000000 Methionine 0.307278 Niacin 3.148417 Pantothenic acid 1.108143 Phenylalanine 0.796159 Phosphorus, P 451.570312 Phytosterols 145.827586 Potassium, K 620.437500 Proline 0.701905 Protein 14.859453 Retinol 0.000000 Riboflavin 0.241341 Selenium, Se 53.711111 Serine 0.792770 Sodium, Na 109.625000 Starch 1.943143 Stigmasterol 3.321429 Sucrose 5.925238 Sugars, total 6.665167 Theobromine 0.000000 Thiamin 0.529008 Threonine 0.560587 Tocopherol, beta 0.360233 Tocopherol, delta 0.588605 Tocopherol, gamma 9.187907 Total lipid (fat) 38.131016 Tryptophan 0.229738 Tyrosine 0.502992 Valine 0.825706 Vitamin A, IU 75.535433 Vitamin A, RAE 3.744000 Vitamin B-12 0.000000 Vitamin B-12, added 0.000000 Vitamin B-6 0.389583 Vitamin C, total ascorbic acid 5.919685 Vitamin D 0.000000 Vitamin D (D2 + D3) 0.000000 Vitamin E (alpha-tocopherol) 9.026833 Vitamin E, added 0.000000
  144. 26/01/2013 08:36 Page 144 of 163 http://nbviewer.ipython.org/3904875/ Vitamin K (phylloquinone)

    7.824000 Water 14.603594 Zinc, Zn 3.860078 Pork Products Alanine 1.311954 Alcohol, ethyl 0.000000 Arginine 1.427341 Ash 2.013171 Aspartic acid 2.042380 Betaine 3.900833 Caffeine 0.000000 Calcium, Ca 15.292683 Carbohydrate, by difference 0.402774 Carotene, alpha 0.000000 Carotene, beta 0.000000 Cholesterol 97.472561 Choline, total 84.383884 Copper, Cu 0.119345 Cryptoxanthin, beta 0.000000 Cystine 0.268017 Dihydrophylloquinone 0.001739 Energy 214.896341 Fatty acids, total monounsaturated 5.830030 Fatty acids, total polyunsaturated 1.572402 Fatty acids, total saturated 4.664731 Fatty acids, total trans 0.070405 Fatty acids, total trans-monoenoic 0.050503 Fatty acids, total trans-polyenoic 0.020934 Fiber, total dietary 0.000000 Fluoride, F 19.166667 Folate, DFE 3.718750 Folate, food 3.707165 Folate, total 3.707165 Folic acid 0.000000 Fructose 0.080135 Galactose 0.000000 Glucose (dextrose) 0.724189 Glutamic acid 3.332587 Glycine 1.165164 Histidine 0.879613 Hydroxyproline 0.119121 Iron, Fe 1.421951 Isoleucine 1.022531 Lactose 0.000000 Leucine 1.788869 Lutein + zeaxanthin 0.000000 Lycopene 0.000000 Lysine 1.927364 Magnesium, Mg 20.140244 Maltose 0.012432 Manganese, Mn 0.022000 Menaquinone-4 3.312500 Methionine 0.565161 Niacin 5.598548 Pantothenic acid 0.829623 Phenylalanine 0.903993 Phosphorus, P 224.392523 Phytosterols 0.113208 Potassium, K 320.545732 Proline 0.974673 Protein 21.893994 Retinol 41.165109 Riboflavin 0.294857 Selenium, Se 34.834268
  145. 26/01/2013 08:36 Page 145 of 163 http://nbviewer.ipython.org/3904875/ Serine 0.915769 Sodium,

    Na 457.146341 Sucrose 0.243919 Sugars, total 0.309889 Theobromine 0.000000 Thiamin 0.530474 Threonine 0.976849 Tocopherol, beta 0.003721 Tocopherol, delta 0.001395 Tocopherol, gamma 0.039535 Total lipid (fat) 13.481463 Tryptophan 0.245072 Tyrosine 0.777056 Valine 1.137954 Vitamin A, IU 134.396341 Vitamin A, RAE 41.152648 Vitamin B-12 1.010966 Vitamin B-12, added 0.000000 Vitamin B-6 0.423218 Vitamin C, total ascorbic acid 1.248476 Vitamin D 32.776042 Vitamin D (D2 + D3) 0.819271 Vitamin D3 (cholecalciferol) 0.819271 Vitamin E (alpha-tocopherol) 0.221818 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 0.004348 Water 62.438354 Zinc, Zn 2.413720 Poultry Products Alanine 1.389477 Alcohol, ethyl 0.000000 Arginine 1.525467 Ash 1.113793 Aspartic acid 2.138056 Betaine 7.097959 Caffeine 0.000000 Calcium, Ca 17.396552 Carbohydrate, by difference 0.852328 Carotene, alpha 0.200000 Carotene, beta 0.533333 Cholesterol 94.836207 Choline, total 74.763265 Copper, Cu 0.130643 Cryptoxanthin, beta 0.200000 Cystine 0.282654 Dihydrophylloquinone 0.000000 Energy 201.750000 Fatty acids, total monounsaturated 4.209991 Fatty acids, total polyunsaturated 2.413759 Fatty acids, total saturated 3.139198 Fatty acids, total trans 0.119909 Fatty acids, total trans-monoenoic 0.167500 Fatty acids, total trans-polyenoic 0.044500 Fiber, total dietary 0.013393 Fluoride, F 11.025000 Folate, DFE 27.286957 Folate, food 26.060870 Folate, total 26.782609 Folic acid 0.721739 Fructose 0.000000 Galactose 0.000000 Glucose (dextrose) 0.000000 Glutamic acid 3.517748 Glycine 1.383907
  146. 26/01/2013 08:36 Page 146 of 163 http://nbviewer.ipython.org/3904875/ Histidine 0.682561 Hydroxyproline

    0.243900 Iron, Fe 2.081810 Isoleucine 1.149673 Lactose 0.000000 Leucine 1.767972 Lutein + zeaxanthin 1.383333 Lycopene 0.350000 Lysine 1.982953 Magnesium, Mg 21.747826 Maltose 0.000000 Manganese, Mn 0.033364 Menaquinone-4 24.350000 Methionine 0.632607 Niacin 5.560517 Pantothenic acid 1.091402 Phenylalanine 0.913028 Phosphorus, P 192.226087 Phytosterols 0.000000 Potassium, K 240.373913 Proline 1.092598 Protein 23.469569 Retinol 320.200000 Riboflavin 0.252661 Selenium, Se 29.037069 Serine 0.925654 Sodium, Na 178.775862 Starch 0.000000 Sucrose 0.020000 Sugars, total 0.006500 Theobromine 0.000000 Thiamin 0.083896 Threonine 0.978449 Tocopherol, beta 0.000000 Tocopherol, delta 0.003333 Tocopherol, gamma 0.135000 Total lipid (fat) 10.981379 Tryptophan 0.258738 Tyrosine 0.813178 Valine 1.163776 Vitamin A, IU 1067.756522 Vitamin A, RAE 319.139130 Vitamin B-12 1.385391 Vitamin B-12, added 0.000000 Vitamin B-6 0.377435 Vitamin C, total ascorbic acid 0.955172 Vitamin D 6.612245 Vitamin D (D2 + D3) 0.157143 Vitamin D3 (cholecalciferol) 0.141304 Vitamin E (alpha-tocopherol) 0.349508 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 2.830357 Water 63.857328 Zinc, Zn 2.549130 Restaurant Foods Alanine 0.612429 Alcohol, ethyl 0.000000 Arginine 0.713612 Ash 2.004902 Aspartic acid 1.063449 Beta-sitosterol 25.600000 Betaine 5.223077 Caffeine 0.000000 Calcium, Ca 74.725490
  147. 26/01/2013 08:36 Page 147 of 163 http://nbviewer.ipython.org/3904875/ Campesterol 10.400000 Carbohydrate,

    by difference 20.340392 Carotene, alpha 83.375000 Carotene, beta 181.250000 Cholesterol 38.133333 Choline, total 28.853846 Copper, Cu 0.088039 Cryptoxanthin, beta 15.250000 Cystine 0.138061 Dihydrophylloquinone 0.933333 Energy 230.862745 Fatty acids, total monounsaturated 3.271490 Fatty acids, total polyunsaturated 4.091627 Fatty acids, total saturated 2.935647 Fatty acids, total trans 0.209275 Fatty acids, total trans-monoenoic 0.151353 Fatty acids, total trans-polyenoic 0.057941 Fiber, total dietary 1.953333 Folate, DFE 12.000000 Folate, food 6.000000 Folate, total 9.333333 Folic acid 3.333333 Fructose 0.315000 Galactose 0.032727 Glucose (dextrose) 0.342647 Glutamic acid 2.288918 Glycine 0.512531 Histidine 0.355449 Hydroxyproline 0.000000 Iron, Fe 1.150784 Isoleucine 0.544163 Lactose 0.382353 Leucine 0.991857 Lutein + zeaxanthin 132.750000 Lycopene 65.750000 Lysine 0.854816 Magnesium, Mg 24.156863 Maltose 0.234706 Manganese, Mn 0.217000 Menaquinone-4 2.400000 Methionine 0.283224 Niacin 2.875431 Pantothenic acid 0.548933 Phenylalanine 0.531020 Phosphorus, P 189.980392 Potassium, K 237.745098 Proline 0.696714 Protein 11.715882 Retinol 24.250000 Riboflavin 0.099020 Selenium, Se 9.584000 Serine 0.512878 Sodium, Na 463.137255 Starch 18.205238 Stigmasterol 7.000000 Sucrose 1.450882 Sugars, total 2.732121 Theobromine 0.000000 Thiamin 0.088824 Threonine 0.488694 Tocopherol, beta 0.093714 Tocopherol, delta 1.224286 Tocopherol, gamma 3.845429
  148. 26/01/2013 08:36 Page 148 of 163 http://nbviewer.ipython.org/3904875/ Total lipid (fat)

    11.400196 Tryptophan 0.148224 Tyrosine 0.394204 Valine 0.720673 Vitamin A, IU 213.181818 Vitamin A, RAE 29.045455 Vitamin B-12 0.735750 Vitamin B-12, added 0.000000 Vitamin B-6 0.185863 Vitamin C, total ascorbic acid 4.560000 Vitamin D 5.500000 Vitamin D (D2 + D3) 0.150000 Vitamin D3 (cholecalciferol) 0.150000 Vitamin E (alpha-tocopherol) 0.903714 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 19.463415 Water 54.552549 Zinc, Zn 1.378627 Sausages and Luncheon Meats Alanine 0.986258 Alcohol, ethyl 0.000000 Arginine 1.031615 Ash 3.329459 Aspartic acid 1.432470 Betaine 4.867391 Caffeine 0.000000 Calcium, Ca 31.477064 Carbohydrate, by difference 3.396396 Carotene, alpha 1.181818 Carotene, beta 3.230769 Cholesterol 66.837838 Choline, total 58.813043 Copper, Cu 0.115000 Cryptoxanthin, beta 1.715909 Cystine 0.189758 Dihydrophylloquinone 0.000000 Energy 236.099099 Fatty acids, total monounsaturated 7.741651 Fatty acids, total polyunsaturated 1.757642 Fatty acids, total saturated 6.158476 Fatty acids, total trans 0.493214 Fatty acids, total trans-monoenoic 0.162000 Fatty acids, total trans-polyenoic 0.056333 Fiber, total dietary 0.105455 Fluoride, F 32.875000 Folate, DFE 6.980198 Folate, food 6.772277 Folate, total 6.891089 Folic acid 0.128713 Fructose 0.001667 Galactose 0.000000 Glucose (dextrose) 0.580000 Glutamic acid 2.451182 Glycine 1.050818 Histidine 0.487303 Hydroxyproline 0.172529 Iron, Fe 1.776273 Isoleucine 0.738045 Lactose 0.778333 Leucine 1.201985 Lutein + zeaxanthin 2.204545 Lycopene 1.170455 Lysine 1.310091 Magnesium, Mg 17.435185
  149. 26/01/2013 08:36 Page 149 of 163 http://nbviewer.ipython.org/3904875/ Maltose 0.105000 Manganese,

    Mn 0.070875 Menaquinone-4 10.600000 Methionine 0.391697 Niacin 3.556551 Pantothenic acid 0.630133 Phenylalanine 0.617606 Phosphorus, P 167.660377 Phytosterols 0.769231 Potassium, K 260.157407 Proline 0.840455 Protein 15.861351 Retinol 67.232323 Riboflavin 0.207500 Selenium, Se 17.203261 Serine 0.649636 Sodium, Na 1007.378378 Starch 1.630000 Sucrose 0.073333 Sugars, total 0.866162 Theobromine 0.000000 Thiamin 0.217990 Threonine 0.662212 Tocopherol, beta 0.000000 Tocopherol, delta 0.000000 Tocopherol, gamma 0.089412 Total lipid (fat) 17.534595 Tryptophan 0.155530 Tyrosine 0.526788 Valine 0.772091 Vitamin A, IU 466.736364 Vitamin A, RAE 101.049505 Vitamin B-12 1.576020 Vitamin B-12, added 0.000000 Vitamin B-6 0.246786 Vitamin C, total ascorbic acid 3.700917 Vitamin D 24.188679 Vitamin D (D2 + D3) 0.605660 Vitamin D3 (cholecalciferol) 0.480000 Vitamin E (alpha-tocopherol) 0.247273 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 1.086441 Water 59.957838 Zinc, Zn 2.247130 Snacks Alanine 0.560949 Alcohol, ethyl 0.000000 Arginine 0.678878 Ash 2.640185 Aspartic acid 0.969357 Beta-sitosterol 76.000000 Betaine 8.982143 Caffeine 0.629213 Calcium, Ca 148.835443 Campesterol 32.500000 Carbohydrate, by difference 64.350556 Carotene, alpha 12.845238 Carotene, beta 205.146067 Cholesterol 4.986842 Choline, total 28.797701 Copper, Cu 0.331520 Cryptoxanthin, beta 7.226190 Cystine 0.156337 Dihydrophylloquinone 6.634375
  150. 26/01/2013 08:36 Page 150 of 163 http://nbviewer.ipython.org/3904875/ Energy 444.500000 Fatty

    acids, total monounsaturated 5.850785 Fatty acids, total polyunsaturated 5.781362 Fatty acids, total saturated 4.952113 Fatty acids, total trans 0.361577 Fatty acids, total trans-monoenoic 0.185150 Fatty acids, total trans-polyenoic 0.087632 Fiber, total dietary 5.497931 Fluoride, F 14.232143 Folate, DFE 129.278146 Folate, food 34.305195 Folate, total 89.376623 Folic acid 54.895425 Fructose 0.925714 Galactose 0.220714 Glucose (dextrose) 1.355862 Glutamic acid 2.018347 Glycine 0.635153 Histidine 0.239255 Hydroxyproline 0.009000 Iron, Fe 2.890253 Isoleucine 0.383398 Lactose 0.329310 Leucine 0.812571 Lutein + zeaxanthin 221.987952 Lycopene 88.313253 Lysine 0.430571 Magnesium, Mg 92.896774 Maltose 1.575556 Manganese, Mn 1.216556 Menaquinone-4 0.000000 Methionine 0.166296 Niacin 5.418703 Pantothenic acid 1.831557 Phenylalanine 0.472735 Phosphorus, P 232.474026 Phytosterols 51.411765 Potassium, K 406.562914 Proline 0.743265 Protein 9.779012 Retinol 43.972028 Riboflavin 0.351903 Selenium, Se 11.034677 Serine 0.485000 Sodium, Na 454.716049 Starch 37.993438 Stigmasterol 9.000000 Sucrose 2.852759 Sugars, total 15.116019 Theobromine 6.172414 Thiamin 0.376792 Threonine 0.356602 Tocopherol, beta 0.041724 Tocopherol, delta 0.588519 Tocopherol, gamma 2.933704 Total lipid (fat) 17.363704 Tryptophan 0.105571 Tyrosine 0.341765 Valine 0.496388 Vitamin A, IU 528.006369 Vitamin A, RAE 54.059603 Vitamin B-12 0.780800 Vitamin B-12, added 0.440000
  151. 26/01/2013 08:36 Page 151 of 163 http://nbviewer.ipython.org/3904875/ Vitamin B-6 0.483764

    Vitamin C, total ascorbic acid 19.527673 Vitamin D 11.178571 Vitamin D (D2 + D3) 0.279762 Vitamin D3 (cholecalciferol) 0.083333 Vitamin E (alpha-tocopherol) 5.940652 Vitamin E, added 1.335412 Vitamin K (phylloquinone) 15.103371 Water 5.417531 Zinc, Zn 2.211039 Soups, Sauces, and Gravies Alanine 0.136185 Alcohol, ethyl 0.002878 Arginine 0.171778 Ash 2.508400 Aspartic acid 0.254963 Betaine 1.472727 Caffeine 0.000000 Calcium, Ca 29.647510 Carbohydrate, by difference 13.500291 Carotene, alpha 68.201550 Carotene, beta 290.105263 Cholesterol 4.698885 Choline, total 13.266667 Copper, Cu 0.099994 Cryptoxanthin, beta 4.604651 Cystine 0.044808 Dihydrophylloquinone 0.000000 Energy 84.105455 Fatty acids, total monounsaturated 0.903395 Fatty acids, total polyunsaturated 0.510846 Fatty acids, total saturated 0.720786 Fatty acids, total trans 0.002081 Fatty acids, total trans-monoenoic 0.000500 Fatty acids, total trans-polyenoic 0.000000 Fiber, total dietary 1.194737 Fluoride, F 18.284000 Folate, DFE 20.662338 Folate, food 11.224359 Folate, total 16.647436 Folic acid 5.474026 Fructose 1.410455 Galactose 0.012941 Glucose (dextrose) 1.392273 Glutamic acid 0.976333 Glycine 0.125259 Histidine 0.076111 Hydroxyproline 0.018000 Iron, Fe 1.021241 Isoleucine 0.132185 Lactose 0.127500 Leucine 0.236333 Lutein + zeaxanthin 177.815385 Lycopene 982.007692 Lysine 0.151741 Magnesium, Mg 15.596154 Maltose 0.166818 Manganese, Mn 0.157255 Menaquinone-4 0.566667 Methionine 0.052667 Niacin 1.326821 Pantothenic acid 0.211285 Phenylalanine 0.140852 Phosphorus, P 54.089744
  152. 26/01/2013 08:36 Page 152 of 163 http://nbviewer.ipython.org/3904875/ Phytosterols 0.500000 Potassium,

    K 211.255000 Proline 0.264815 Protein 2.783855 Retinol 3.756579 Riboflavin 0.155250 Selenium, Se 4.347945 Serine 0.147481 Sodium, Na 737.458182 Starch 18.850000 Sucrose 1.948696 Sugars, total 4.271475 Theobromine 0.000000 Thiamin 0.134205 Threonine 0.119593 Tocopherol, beta 0.023636 Tocopherol, delta 0.060000 Tocopherol, gamma 0.422143 Total lipid (fat) 2.207855 Tryptophan 0.032000 Tyrosine 0.102111 Valine 0.157296 Vitamin A, IU 493.473485 Vitamin A, RAE 28.019481 Vitamin B-12 0.124808 Vitamin B-12, added 0.000000 Vitamin B-6 0.107788 Vitamin C, total ascorbic acid 5.793846 Vitamin D 1.237705 Vitamin D (D2 + D3) 0.029508 Vitamin D3 (cholecalciferol) 0.244444 Vitamin E (alpha-tocopherol) 0.429104 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 5.960465 Water 79.006291 Zinc, Zn 0.467564 Spices and Herbs Alanine 0.531779 Alcohol, ethyl 0.000000 Arginine 0.691673 Ash 4.047863 Aspartic acid 1.252154 Betaine 2.100000 Caffeine 0.000000 Calcium, Ca 516.444444 Carbohydrate, by difference 14.145641 Carotene, alpha 92.522727 Carotene, beta 1591.700000 Cholesterol 54.424779 Choline, total 25.675294 Copper, Cu 0.192581 Cryptoxanthin, beta 332.477273 Cystine 0.122510 Dihydrophylloquinone 0.000000 Energy 260.923077 Fatty acids, total monounsaturated 5.527824 Fatty acids, total polyunsaturated 1.229667 Fatty acids, total saturated 10.229598 Fatty acids, total trans 0.000000 Fatty acids, total trans-monoenoic 0.000000 Fiber, total dietary 6.231304 Fluoride, F 11.742857 Folate, DFE 28.629630 Folate, food 28.629630
  153. 26/01/2013 08:36 Page 153 of 163 http://nbviewer.ipython.org/3904875/ Folate, total 28.629630

    Folic acid 0.000000 Fructose 1.726452 Galactose 0.054643 Glucose (dextrose) 1.456176 Glutamic acid 3.298875 Glycine 0.411231 Histidine 0.522231 Hydroxyproline 0.000000 Iron, Fe 5.410684 Isoleucine 0.797406 Lactose 1.443529 Leucine 1.436396 Lutein + zeaxanthin 810.470588 Lycopene 0.715909 Lysine 1.313660 Magnesium, Mg 68.341880 Maltose 0.084194 Manganese, Mn 0.795419 Menaquinone-4 5.150000 Methionine 0.393231 Niacin 1.465894 Pantothenic acid 0.445220 Phenylalanine 0.811298 Phosphorus, P 313.666667 Phytosterols 74.037037 Potassium, K 519.572650 Proline 1.663904 Protein 15.027265 Retinol 138.637168 Riboflavin 0.373919 Selenium, Se 10.872222 Serine 0.823529 Sodium, Na 490.136752 Starch 0.500000 Sucrose 0.580645 Sugars, total 3.118804 Theobromine 0.000000 Thiamin 0.092168 Threonine 0.584679 Tocopherol, beta 0.087143 Tocopherol, delta 0.010000 Tocopherol, gamma 1.190000 Total lipid (fat) 17.751538 Tryptophan 0.223472 Tyrosine 0.801981 Valine 0.991123 Vitamin A, IU 3010.324786 Vitamin A, RAE 262.222222 Vitamin B-12 0.743363 Vitamin B-12, added 0.000000 Vitamin B-6 0.313673 Vitamin C, total ascorbic acid 9.492308 Vitamin D 14.234694 Vitamin D (D2 + D3) 0.361224 Vitamin D3 (cholecalciferol) 0.536364 Vitamin E (alpha-tocopherol) 3.086818 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 93.327273 Water 48.757179 Zinc, Zn 2.420171 Sweets Adjusted Protein 12.900000 Alanine 0.386580
  154. 26/01/2013 08:36 Page 154 of 163 http://nbviewer.ipython.org/3904875/ Alcohol, ethyl 0.000000

    Arginine 0.375914 Ash 1.417679 Aspartic acid 0.461513 Beta-sitosterol 46.222222 Betaine 1.182353 Caffeine 14.099585 Calcium, Ca 102.091445 Campesterol 7.222222 Carbohydrate, by difference 55.646774 Carotene, alpha 0.255102 Carotene, beta 8.659091 Cholesterol 9.282738 Choline, total 13.595480 Copper, Cu 0.241821 Cryptoxanthin, beta 0.517766 Cystine 0.036790 Dihydrophylloquinone 1.273333 Energy 325.296188 Fatty acids, total monounsaturated 3.098187 Fatty acids, total polyunsaturated 1.158424 Fatty acids, total saturated 5.738120 Fatty acids, total trans 0.212476 Fatty acids, total trans-monoenoic 0.157667 Fatty acids, total trans-polyenoic 0.024667 Fiber, total dietary 2.258284 Fluoride, F 30.853571 Folate, DFE 9.011628 Folate, food 11.338346 Folate, total 11.850365 Folic acid 0.361538 Fructose 2.543200 Galactose 0.155500 Glucose (dextrose) 2.798000 Glutamic acid 0.837000 Glycine 0.730073 Histidine 0.088667 Hydroxyproline 0.000000 Iron, Fe 1.175924 Isoleucine 0.180840 Lactose 1.450435 Leucine 0.316309 Lutein + zeaxanthin 8.178571 Lycopene 0.000000 Lysine 0.294605 Magnesium, Mg 36.784946 Maltose 0.515833 Manganese, Mn 0.303023 Menaquinone-4 0.477778 Methionine 0.075086 Niacin 0.613964 Pantothenic acid 0.225126 Phenylalanine 0.212111 Phosphorus, P 131.164912 Phytosterols 5.357143 Potassium, K 215.662021 Proline 0.617488 Protein 4.342111 Retinol 22.272374 Riboflavin 0.109178 Selenium, Se 2.840074 Serine 0.231390 Sodium, Na 265.480938
  155. 26/01/2013 08:36 Page 155 of 163 http://nbviewer.ipython.org/3904875/ Starch 7.486250 Stigmasterol

    18.333333 Sucrose 29.261154 Sugars, total 41.338723 Theobromine 108.683544 Thiamin 0.043396 Threonine 0.169975 Tocopherol, beta 0.008667 Tocopherol, delta 0.420952 Tocopherol, gamma 2.458000 Total lipid (fat) 10.752845 Tryptophan 0.043160 Tyrosine 0.131741 Valine 0.247741 Vitamin A, IU 103.155689 Vitamin A, RAE 20.757895 Vitamin B-12 0.185977 Vitamin B-12, added 0.000240 Vitamin B-6 0.065058 Vitamin C, total ascorbic acid 4.850898 Vitamin D 5.025641 Vitamin D (D2 + D3) 0.125128 Vitamin D3 (cholecalciferol) 0.314286 Vitamin E (alpha-tocopherol) 0.829652 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 2.149746 Water 28.042136 Zinc, Zn 0.743369 Vegetables and Vegetable Products Adjusted Protein 2.180000 Alanine 0.132387 Alcohol, ethyl 0.000000 Arginine 0.159061 Ash 1.307943 Aspartic acid 0.334666 Beta-sitosterol 2.440000 Betaine 9.157368 Caffeine 0.000000 Calcium, Ca 49.445129 Campesterol 2.541667 Carbohydrate, by difference 12.308313 Carotene, alpha 197.988095 Carotene, beta 1560.998066 Cholesterol 0.677987 Choline, total 18.972624 Copper, Cu 0.163878 Cryptoxanthin, beta 54.506000 Cystine 0.033489 Dihydrophylloquinone 1.929730 Energy 62.527094 Fatty acids, total monounsaturated 0.279096 Fatty acids, total polyunsaturated 0.283151 Fatty acids, total saturated 0.234461 Fatty acids, total trans 0.068233 Fatty acids, total trans-monoenoic 0.035563 Fatty acids, total trans-polyenoic 0.003938 Fiber, total dietary 2.963597 Fluoride, F 20.691379 Folate, DFE 44.919897 Folate, food 44.276730 Folate, total 44.407547 Folic acid 0.134367 Fructose 0.838728 Galactose 0.023072
  156. 26/01/2013 08:36 Page 156 of 163 http://nbviewer.ipython.org/3904875/ In [205]: result

    Glucose (dextrose) 0.975434 Glutamic acid 0.455094 Glycine 0.104742 Histidine 0.061272 Hydroxyproline 0.000000 Iron, Fe 1.340877 Isoleucine 0.116851 Lactose 0.039337 Leucine 0.182534 Lutein + zeaxanthin 1451.333333 Lycopene 710.082828 Lysine 0.153640 Magnesium, Mg 32.060226 Maltose 0.166527 Manganese, Mn 0.345812 Menaquinone-4 0.054839 Methionine 0.037252 Niacin 1.224798 Pantothenic acid 0.405204 Phenylalanine 0.114611 Phosphorus, P 59.626098 Phytosterols 13.587500 Potassium, K 356.539506 Proline 0.121923 Protein 2.815813 Retinol 1.188557 Riboflavin 0.136398 Selenium, Se 1.630809 Serine 0.123642 Sodium, Na 156.209360 Starch 5.940673 Stigmasterol 0.360000 Sucrose 0.941647 Sugars, total 3.357412 Theobromine 0.000000 Thiamin 0.108723 Threonine 0.107237 Tocopherol, beta 0.007589 Tocopherol, delta 0.151560 Tocopherol, gamma 0.476241 Total lipid (fat) 0.932057 Tryptophan 0.032476 Tyrosine 0.084657 Valine 0.138723 Vitamin A, IU 2575.497500 Vitamin A, RAE 128.103713 Vitamin B-12 0.002769 Vitamin B-12, added 0.000000 Vitamin B-6 0.180557 Vitamin C, total ascorbic acid 26.305198 Vitamin D 3.771176 Vitamin D (D2 + D3) 0.094430 Vitamin D2 (ergocalciferol) 3.419048 Vitamin D3 (cholecalciferol) 0.092857 Vitamin E (alpha-tocopherol) 0.663795 Vitamin E, added 0.000000 Vitamin K (phylloquinone) 75.988957 Water 82.638855 Zinc, Zn 0.483308 Length: 2246
  157. 26/01/2013 08:36 Page 157 of 163 http://nbviewer.ipython.org/3904875/ In [178]: mean

    In [247]: ts = pd.Series(randn(1000), pd.date_range('2012-10-17', periods=1000, freq='D')) In [259]: ts.values Out[205]: <class 'pandas.core.frame.DataFrame'> MultiIndex: 2246 entries, (Baby Foods, Alanine) to (Vegetables and Vegetable Products, Zinc Zn) Data columns: mean 2246 non-null values median 2246 non-null values max 2246 non-null values dtypes: float64(3) Out[178]: 'nname' Out[259]: array([ 1.21763876e+00, 4.09704368e-01, 1.17336948e-01, -1.12365254e-01, -4.67133095e-01, -1.21816430e+00, -1.77102540e+00, 9.12571698e-01, -7.42722632e-01, 5.21667398e-01, 1.07968787e+00, -8.89837859e-01, 7.54993828e-01, 1.32008275e+00, -2.01218917e-01, 6.39464443e-02, 5.71601735e-02, -2.48326198e+00, 6.58480310e-01, 2.76435823e-01, -6.03167825e-01, 8.89798515e-01, 7.27826901e-01, -1.74653436e+00, 5.25059246e-01, -4.64492497e-01, 1.02628567e+00, -7.06233431e-01, -1.04892136e-01, 1.41768550e+00, 5.94114993e-01, -8.98701289e-01, -7.13973263e-01, -1.44417868e-01, -8.36422727e-01, -1.88649269e+00, -2.27558769e-01, -2.39120805e-01, -3.31177248e-01, -9.04417470e-01, 1.62692365e+00, 7.90779256e-01, -3.76680305e-01, -8.00856798e-01, 4.08131832e-01, 4.38580340e-01, -1.82451982e+00, 6.99842132e-01, 9.95653357e-01, 2.19733341e-01, 1.77357158e+00, -2.05662362e-01, -1.11916922e+00, 7.15253511e-01, 1.53219926e-01, 1.25612324e+00, 4.07604274e-01, -4.14509397e-01, 3.32767717e-01, 7.25350709e-01, -1.62534512e+00, 1.41589428e+00, -1.18544560e+00, -4.94509407e-01, 3.42854373e-01, -2.06213555e+00, -3.77588276e-01, -1.52109374e+00, 9.25783098e-01, 1.26611405e-01, 1.80982537e-01, -2.74389169e-01, 5.74889180e-01, -7.12373539e-01, -7.36194668e-01, 1.02063520e+00, 1.46224119e+00, -8.84721651e-01, 8.46880215e-02, 1.09057681e+00, -2.98142656e-01, -5.39171480e-01, 3.21388836e+00, -3.27338467e-01, 8.28720854e-02, 4.47404642e-01, -4.75001375e-01, -8.04014709e-01, 3.45488438e-01, 1.40910780e+00, -1.31301796e+00, -3.93690577e-01, -8.08279428e-01, 1.02761904e+00, 5.65260778e-01, 6.79941034e-01, -1.43894531e+00, -2.01134722e+00, 8.47489460e-01, -6.71858226e-01, 5.28167613e-01, 1.08461955e+00, 1.59352776e-01, 8.26956822e-01, -7.57545781e-01, -9.67830520e-02, -7.82769617e-01, 1.06750829e+00, 4.64574221e-01, 3.90649369e-01, -8.28254148e-01, -2.30774817e-01, -7.74556503e-01, -1.35016125e+00, -4.62780814e-01, 8.74154378e-01, 1.89943066e+00, -1.98325831e-01, 4.45386072e-01, -1.65227309e-02, -1.30162171e+00, -1.07803662e-01, 2.44131752e-01, -6.01475729e-01, 3.28383188e-01, 1.60650657e-01, -1.48956349e+00, -2.29843854e-01, -1.05871526e+00, -1.30083269e+00, 9.74376130e-01, 8.13313928e-01,
  158. 26/01/2013 08:36 Page 158 of 163 http://nbviewer.ipython.org/3904875/ 1.07743566e+00, 8.55034544e-01, 3.72796855e-01,

    1.59081605e+00, -2.72218247e-01, 8.52689985e-01, 1.40984116e+00, -2.14552999e+00, -7.03709426e-02, -9.49555019e-01, 5.63740562e-01, 8.07738676e-01, -1.68423565e+00, 7.88375339e-01, 1.23083818e+00, -2.97786381e-01, -1.93607942e+00, -6.74468880e-01, 3.02638468e-01, 1.40637899e-01, -6.60260106e-02, 3.56014156e-02, -9.02756911e-01, 1.57083545e+00, 1.00826783e-02, -1.24212489e+00, -5.79382895e-01, 3.49104409e-01, 5.18805564e-01, 1.02957767e+00, 1.06459579e+00, 1.19413022e+00, 3.16382016e-02, -6.18532059e-01, 9.86495258e-01, 1.66657870e+00, -5.90626498e-01, -8.54513475e-01, -5.54375597e-01, -1.05517192e+00, -3.66802959e-01, -1.85033314e-01, 5.08195163e-01, -5.41591646e-01, 7.05676797e-02, -1.29170743e+00, -8.54698582e-01, 7.67001814e-01, -2.13690186e-01, 1.90480161e-01, 2.24352762e-02, -3.43387704e-01, -1.37448358e+00, -6.69177468e-01, 1.06970501e+00, -4.89978541e-02, 9.79358119e-01, 2.65622941e-01, -5.60326640e-01, -4.60852220e-01, -1.83164603e+00, 1.04095792e+00, 1.11167502e+00, -8.54004403e-01, 1.50955649e+00, -2.54438799e-01, -6.10454687e-01, 3.86568481e-01, -9.80230923e-01, 7.70906727e-01, -3.16787850e-01, 8.49519011e-02, -1.36421733e+00, -9.97634114e-01, 1.94076291e-01, 2.07434236e-01, 6.00842830e-01, -1.47011382e+00, -1.64364654e-01, -2.91404371e-01, 4.34814688e-01, 1.79488518e+00, -9.55656761e-01, 6.10537114e-01, 9.01727570e-01, -3.15668340e-01, 5.38073038e-01, -2.07041634e-01, 5.62411621e-01, -7.69171436e-01, -1.61215838e+00, -1.37518847e-01, 1.96379490e-01, -1.85616943e+00, -7.23651159e-01, -1.00622150e+00, 2.22164954e-01, -1.79567152e-01, -6.15871532e-01, 1.29582327e+00, 3.00180923e-01, 1.93134651e+00, 6.01693829e-01, -6.07410649e-01, -6.15080894e-01, 1.48274733e+00, -3.47708351e-01, -6.37315557e-01, 3.00002458e-01, 6.13177853e-01, 1.10742407e-01, -1.10299971e+00, 3.24942667e-01, 8.57923864e-01, -1.04948545e+00, -1.29354501e+00, 1.75620422e+00, -1.45010748e+00, 9.86226822e-01, 6.37566525e-01, 2.19253968e-01, -2.46144111e+00, 1.23990629e+00, -5.79919251e-01, -1.32453205e+00, -8.22757535e-01, -5.39655690e-01, -5.67561548e-01, 5.06518376e-01, 6.01374063e-01, -3.09056579e-02, -7.50920617e-01, -4.33021513e-01, 6.15847322e-01, -5.55139884e-01, -4.29184945e-02, -3.64840975e-01, -1.18156475e+00, -5.86656311e-01, -4.04126647e-01, -2.40866558e-01, 7.75735020e-01, -1.47169693e-01, -1.74902408e-01, 6.33770889e-01, -1.00232335e+00, -4.48328348e-01, 1.25594696e+00, -7.11557552e-01, -2.71085279e-01, 9.74041103e-02, 1.05867027e+00, 5.45496079e-01, 2.29499901e-01, -2.61722611e-01, -1.34967646e+00, 2.53515599e-01, 4.65232836e-01, 5.87645891e-02, 6.96707652e-02, -7.25061072e-01, -7.15068373e-01, 1.70350526e-01, -5.01189658e-01, 3.13946990e-01, 3.80369915e-01, -1.67812408e-01, -8.27392278e-01, -3.86380668e-01, 6.48884860e-01, 1.16948925e+00, 1.08831723e+00, -5.34522273e-01, -2.69460183e-02, 3.65440079e-01, 9.89198428e-01, 7.85581943e-01, 1.64825634e+00, 6.64906835e-01, 9.33634512e-01, 6.78835735e-01, -1.34238881e-01, -1.30483080e+00, 4.02403595e-01, -9.85260593e-01, 6.21731678e-01, 5.13287069e-01, -7.72423347e-01, -1.39657229e+00,
  159. 26/01/2013 08:36 Page 159 of 163 http://nbviewer.ipython.org/3904875/ 8.62204966e-01, -9.47316622e-01, -9.88510220e-01,

    7.41198853e-01, 7.38100838e-01, 9.21887584e-01, -1.35812798e+00, 1.40792268e+00, -8.05667050e-01, -1.00196796e+00, -6.44897542e-01, 2.41984213e-01, -1.03746532e+00, 3.81625902e-01, -8.32373043e-01, -4.20419855e-01, 2.05282250e-01, -1.29838133e+00, -1.28412444e+00, -1.20335420e+00, -5.32227834e-01, 7.37294582e-01, 9.07889104e-01, -2.88187997e-01, 8.08923834e-01, -4.51959164e-01, -3.63748769e-01, 5.02351563e-01, 3.40002878e-01, -6.20361858e-01, -1.56904979e+00, -4.23728977e-01, -6.58115369e-01, 6.23495673e-02, 7.00761559e-01, 1.35201713e+00, 1.31144097e+00, 1.64129621e-01, 3.47708712e-01, 5.16569653e-01, 5.82020293e-01, -7.63889130e-01, 1.82682977e-01, 9.44789018e-02, 9.87167716e-01, 2.72611075e-01, -1.02029915e+00, -7.52120201e-01, 4.91544315e-01, 1.32946521e+00, 5.33230672e-01, -2.03146523e-01, -8.37404998e-01, -7.19421044e-01, 4.64592865e-01, -1.34406455e+00, -4.11204980e-01, -6.97987997e-01, -1.88761528e-01, -8.43890606e-01, 8.42223548e-02, -1.17971341e-02, 1.78313048e-01, 5.63884494e-01, -3.57847738e-01, 1.33513493e+00, -1.11850264e+00, -1.06026326e+00, 1.99781699e-01, -4.91442359e-01, -2.32614414e+00, -1.35380689e-01, 9.39452168e-02, -2.26239338e-01, -5.93060171e-01, 1.11384284e+00, 9.79725699e-02, -3.25361150e-01, -2.62371947e-01, -9.06062647e-01, -9.00452550e-01, -1.04441711e+00, 1.33161689e+00, 9.57370749e-01, 2.54080432e-01, 6.16671351e-02, 7.93168945e-02, -8.46274497e-01, 1.79774200e-01, -1.26769838e+00, 2.79904956e-01, 1.40540143e-01, 5.03123424e-01, 4.77627712e-01, 2.31569967e-02, 4.55184083e-01, 4.16812856e-01, -1.63012067e+00, -9.72363491e-01, -1.00369859e+00, 4.85568199e-01, -2.37684376e-01, 3.54167732e-02, 4.93538491e-01, 1.21019707e+00, 5.08575877e-01, -1.38232385e+00, 1.95423293e+00, 4.56713813e-01, 2.90950163e-01, 3.95215578e-02, -1.68199828e+00, -6.01416474e-01, 2.09066395e+00, -3.64567420e-01, -7.32806237e-01, -1.10347182e+00, -1.22258338e+00, 1.04844856e+00, -8.16972077e-02, -1.08402007e+00, -1.42008331e+00, -7.44002424e-01, -2.13029596e+00, -2.39900185e+00, 8.22728394e-01, -2.19771621e-01, 1.16040761e+00, -3.67470484e-01, -6.46805439e-01, -5.41042065e-01, 4.98647777e-01, 1.43808716e+00, 5.43072655e-01, -1.02170119e+00, 3.56300691e-01, -1.49063453e-01, -1.92808216e+00, 2.57670669e-01, -9.41125764e-01, -1.29943342e+00, -4.87025852e-01, 1.47640307e+00, 1.65085146e+00, -3.42460728e-02, -2.70579402e-01, -1.42145500e+00, -1.25408713e+00, -1.21488699e-01, 7.84523418e-01, 9.07531800e-01, 1.18993196e-01, 7.03498198e-01, -8.88144708e-01, -1.35307111e-01, -3.01404682e-01, 1.64585759e-01, -7.70152274e-01, 1.76622648e-01, -1.08673579e+00, 9.40910099e-01, 1.54679952e+00, -7.15224067e-01, 1.54910499e-01, 2.30909413e+00, 7.65583703e-01, -3.75419985e-01, -7.34095759e-01, -1.21359052e+00, -1.58893985e-01, -4.37928508e-01, 1.95174959e+00, 8.20765951e-01, -5.34624085e-01, -8.48302162e-01, 2.89043149e-01, -4.88282553e-01, 1.09630766e-01, -1.40028789e+00, 1.66962358e+00, 8.41640878e-01, 1.39893732e-01, 2.12307520e+00, 1.38069192e+00, 6.65689896e-02, -3.67012694e-01, -5.61975703e-01, 1.12631406e-01, 6.44171824e-01,
  160. 26/01/2013 08:36 Page 160 of 163 http://nbviewer.ipython.org/3904875/ -5.94298687e-01, -7.33334175e-02, -3.50435660e-01,

    6.19276889e-01, -6.37331184e-01, -2.30060377e-01, 1.65921054e+00, -1.83065842e+00, -2.28772678e-01, -1.01602106e+00, -1.27141362e+00, 3.97837084e-01, -5.22059406e-01, 6.47787350e-01, -1.83222082e+00, -3.01597123e-02, 1.29582865e+00, 1.45367042e+00, 1.07855500e+00, 3.15674645e-01, -1.39313785e+00, 4.64132537e-01, 5.08586222e-01, 2.39945143e-01, 3.81309908e-01, -1.76108675e-01, 9.94097038e-01, 9.09204389e-01, 1.49076589e+00, -1.34392800e+00, -1.03010577e+00, 1.31977235e+00, -7.89092416e-01, -1.29162239e+00, -1.61824027e-01, 3.79317916e-01, -1.58163973e+00, -1.29070383e+00, -4.39918631e-01, 4.61387084e-01, 1.31374913e+00, 8.30546855e-01, 5.47432646e-01, -7.49299403e-01, 1.09500311e+00, -5.29701297e-01, 7.47853142e-02, 7.92826646e-01, 4.42163264e-01, 4.89182467e-01, -1.11315528e-02, 8.38052756e-01, 1.54233823e+00, -3.50360858e-01, -1.88905517e-01, 2.30782952e+00, -3.11430815e-01, 3.49167570e-01, -6.16393638e-01, 3.22886186e-01, -4.86414852e-01, 8.81540795e-01, 3.28747784e-01, -5.55918970e-01, -2.15581717e+00, -9.94817044e-01, 3.35819193e-01, 1.24899197e+00, -5.99324184e-01, 3.17907878e+00, -1.51012289e-01, 1.17846271e+00, 1.31809391e+00, 2.23104006e-01, 1.95948961e+00, -3.21487553e-01, -9.07537018e-01, 1.60819960e+00, 1.53597172e-01, 4.76335439e-01, -1.03744138e-02, -4.46785119e-01, 1.12175029e+00, -8.92195656e-01, 2.22132346e-01, -4.45099892e-01, -1.90422671e+00, -1.07503192e+00, 6.12650781e-02, 1.62346648e+00, 5.81778326e-01, -5.39665295e-01, 9.34401457e-01, 1.77462295e+00, -1.71096435e+00, 1.14532003e+00, 4.76998997e-01, -1.20804691e+00, 1.54648655e+00, -4.77984818e-01, 3.16204022e-01, 1.53015609e+00, -2.12536229e-01, 1.17772744e-02, -2.30497181e-01, 6.12173377e-02, 2.06765867e-02, -6.56212659e-01, -8.57577936e-01, 7.14834990e-01, 1.64686235e+00, -2.25484412e-01, -3.37580382e-01, -1.95323830e-01, -2.18115111e-01, -1.21666075e+00, -2.20421959e-01, -1.59017654e-01, -2.98980877e-01, 1.71497121e+00, -1.09051635e+00, -1.61797362e-01, 4.27923592e-01, 1.74757252e+00, 1.49073621e+00, -1.49490373e+00, -4.22213324e-01, 2.16131430e+00, 3.31146547e-02, -5.67783955e-01, -1.58054589e-01, -3.20473408e+00, 9.14448637e-01, 1.97770473e-01, -6.32190235e-01, 4.45698043e-01, -1.16139346e+00, -7.26196302e-01, -5.59510139e-01, -1.01626842e+00, 1.19320268e-01, -7.75894727e-01, -2.14706291e-01, -8.74811665e-01, -2.83652348e-01, -6.06455421e-01, -5.93673026e-01, 8.58028144e-01, 1.05523293e+00, 4.56272284e-02, 1.48123760e+00, 3.71609701e-01, 1.83547169e-01, 3.48374743e-01, -5.28908823e-01, -1.66553701e+00, 1.81263654e+00, 8.41234546e-01, 4.31764779e-01, -7.73362581e-01, 1.01429869e+00, -8.58095912e-01, 2.22499867e+00, 4.14811236e-01, 9.10752261e-01, 1.32847691e-01, 3.65004778e-01, -4.65996114e-02, 5.78429431e-01, -6.10260558e-01, -9.77218640e-01, -1.36099160e+00, -8.70744119e-01, 5.72433629e-01, 5.53810756e-01, 1.86870093e+00, -6.18993716e-01, 5.73618145e-01, 6.76130078e-01, -1.62257367e+00, 1.22663394e-01, 1.20954547e+00, 9.89831672e-02, 9.59911049e-01, 7.32848398e-01, 1.34746804e+00, -1.73559174e+00, -3.66623608e-01, -2.41064200e-01,
  161. 26/01/2013 08:36 Page 161 of 163 http://nbviewer.ipython.org/3904875/ 2.01638158e-01, 9.59562494e-01, 6.54981636e-01,

    -5.74847090e-01, -4.64976580e-01, -2.06508706e+00, -1.13661770e+00, -9.93261155e-02, 8.67879514e-01, 2.24078335e+00, 9.80625320e-01, 6.84713545e-01, 1.00604182e+00, -4.43491899e-01, 1.33823808e+00, 5.76337962e-01, 1.73669336e+00, -4.05053385e-01, -8.30582826e-01, 6.80483382e-01, -9.53511568e-01, 1.21657434e-01, 1.02290039e+00, 8.78767400e-01, 1.37091495e+00, -3.40167401e-02, 1.65616105e+00, -1.67584441e+00, -1.19697078e+00, 3.94041599e-01, -3.23726896e-01, -3.63640260e-01, -4.88174424e-01, 1.77570986e-02, 7.07232923e-01, -1.07197535e-01, 2.50402665e+00, 8.74960239e-02, -3.10492035e-01, 6.16229236e-01, -3.12130517e-01, 1.04404027e+00, 1.27354223e+00, -7.70051621e-02, 5.49326358e-01, 1.71848183e-01, 9.76503181e-01, 3.99049407e-01, 2.24536864e+00, -8.78777445e-01, -3.40058674e-01, 5.34378353e-01, -1.29197449e+00, 1.37988965e+00, 7.73728679e-01, -1.18307809e+00, -1.38010726e-01, 5.25589543e-01, 8.71257666e-01, -6.43045940e-01, -7.57013357e-01, -4.65555434e-01, -8.00465907e-02, 9.78918386e-01, 4.17996218e-01, 9.05149444e-02, -3.87705189e-01, -9.49058993e-02, 9.05193993e-02, -1.53142044e-01, 4.96829657e-02, 9.63479088e-01, -1.53129680e+00, -3.19650856e-01, -1.40115678e+00, -6.89800181e-01, -1.41051077e+00, 4.17342701e-01, -6.20042445e-01, -9.29322648e-01, -8.62715992e-01, -4.03230922e-01, -1.55990575e+00, 5.24452714e-01, 1.10838814e-01, -4.65623605e-01, 3.15418502e-02, 6.04649904e-03, -3.87911604e-01, 1.07660067e+00, -1.94940446e-01, 6.76077455e-01, 1.88147732e+00, 1.84445814e-01, 7.61623725e-01, 1.01485576e+00, -2.15013468e-01, -1.26905151e-01, -5.06174748e-01, -1.12537608e+00, 4.72000363e-01, -1.66789677e-01, 3.21024448e-01, -1.63651647e-01, -4.20603602e-01, 5.74190729e-01, 1.10174843e+00, 6.16395388e-01, -2.27013326e-03, 8.21926952e-01, 3.64909518e-01, 3.04854753e-01, 8.70954432e-01, 1.59407451e+00, -2.82966509e-02, -3.25482370e-01, 3.30922981e-01, 4.39375928e-01, -6.33224484e-01, 7.27237739e-01, -2.22064006e-01, 1.03119297e+00, 9.42873847e-01, -9.16528391e-01, 6.78543750e-01, 5.95150367e-01, -2.00099915e-01, 7.11140332e-01, -1.07748698e+00, 1.94288712e-01, -5.13640612e-01, 1.98112750e+00, 1.50923079e+00, -2.43154891e+00, -4.87283123e-01, -1.47215251e+00, 2.07294607e+00, -2.95591840e-01, 2.68589409e-01, -2.77962128e+00, -5.26862335e-01, -3.24712869e-01, -4.85851378e-01, -6.41814599e-01, -1.69144820e+00, 1.10798335e+00, 9.20413971e-01, 7.33559059e-01, 4.67020683e-01, -5.86050527e-01, -4.92739833e-01, 3.99983378e-01, -2.56674368e+00, -6.32926172e-01, -6.12557547e-01, 4.45480920e-01, 1.13431522e-01, 9.51770879e-01, 7.89205137e-02, -2.73026289e+00, -2.18690502e-01, -2.60479632e-01, -7.84811773e-01, 1.52584988e-01, -1.51984087e-01, -3.03660056e-01, -1.02377682e+00, -1.37896907e+00, -6.05660733e-01, -1.19065274e+00, -1.31470632e+00, 6.25831683e-01, -1.06587982e+00, -4.44159007e-01, 2.11669383e+00, -8.75585133e-01, -1.01297597e+00, 5.97675421e-01, 8.88757157e-01, 3.18704202e-01, -5.26367015e-01, 1.28298821e+00, -7.16471648e-03, 1.18322052e+00, -1.99228901e+00, 1.80890176e-01, 1.93527158e+00, -2.72547266e-01, 3.71175041e-01,
  162. 26/01/2013 08:36 Page 162 of 163 http://nbviewer.ipython.org/3904875/ In [257]: import

    pandas.io.sql as sql sql.read_frame?? In [255]: arr = pd.to_datetime(['2012-10-31', '2012-11-30']).tz_localize('Europe/London') arr[0].tz_convert('Europe/Moscow') In [248]: ts.resample('M', how='mean') -4.25835834e-01, 1.04104347e+00, -2.84933618e-01, -2.77611097e-01, -1.40600149e+00, -5.80231276e-02, -4.38108261e-01, 1.81642906e+00, 3.86129825e-03, 6.57205556e-01, -2.86667108e-01, -3.72979652e-01, 1.56268279e+00, 5.15283586e-01, 6.82610600e-01, 4.12370494e-01, 4.09989185e-02, -8.79751463e-01, -1.62043063e+00, 2.19573957e-01, -1.27920343e-01, -3.66112519e-01, 6.45860119e-01, 7.71484699e-01, 6.60384095e-01, -8.85591807e-01, 9.57491174e-01, -3.86867734e-01, -2.81308893e-01, 7.33319413e-01, -1.98190174e+00, 1.28447276e+00, -4.74633618e-01, 1.72227918e+00, 6.10364203e-02, -4.42095925e-01, -1.58487208e+00, 5.71344389e-01, -3.28361358e-01, -9.12771214e-02, -1.49701975e+00, -9.67964153e-01, 3.62112015e-01, 7.61892614e-01, 2.94058020e-01, -6.50185907e-01, -9.16589946e-01, -1.35205177e-01, -1.09517894e+00, 1.09340576e+00, 8.38988894e-01, 1.33239393e+00, 9.56307042e-01, -5.98877569e-01, 1.58686531e+00, -9.99184948e-01, -8.45652057e-02, 2.14480479e+00, -1.07130901e+00, 1.88242838e+00, -3.90898557e-02, -1.11281604e+00, 1.23646647e+00, -8.81562602e-01, -1.70385251e-01, -2.64460641e-01, 1.46465130e+00, 8.78942013e-01, 7.34892294e-01, -9.14987249e-01, 5.92360390e-01, -7.64351795e-01, 1.30671465e+00, -9.44537970e-01, 9.15746978e-01, 1.73342172e-01, -2.80491334e-01, -1.56558746e-01, 8.53359811e-01, 7.17224539e-02, -9.03331655e-01, 1.03479888e+00, -5.79821039e-01, -3.23944962e-01, -3.33210090e-01, -1.03879256e+00, 9.29494221e-01, 1.39285456e+00, 1.41160969e+00, 1.08772263e+00, 1.79841068e+00, 9.75896509e-01, -4.34421900e-01, 1.15483877e+00, -5.26826179e-01, 1.15515883e+00, 6.00502209e-01, 1.37861116e-01, 4.19367299e-01, 5.34455705e-01, 4.65078387e-02, -1.35934091e-01, -4.12778572e-01, 4.57960101e-02, 1.07834966e+00, 8.06339732e-01, 4.64369707e-01, 6.19470850e-01, -2.29047946e+00, 9.75429235e-01, 1.21960089e+00, 5.82024571e-01]) Out[255]: <Timestamp: 2012-10-31 03:00:00+0300 MSK, tz=Europe/Moscow> Out[248]: 2012-10-31 0.062081 2012-11-30 -0.146859 2012-12-31 -0.007987 2013-01-31 0.072679 2013-02-28 0.000593 2013-03-31 0.066214 2013-04-30 -0.132400 2013-05-31 -0.136565 2013-06-30 -0.013043 2013-07-31 -0.147337 2013-08-31 0.190746 2013-09-30 -0.239035
  163. 26/01/2013 08:36 Page 163 of 163 http://nbviewer.ipython.org/3904875/ 2013-10-31 -0.015380 2013-11-30

    -0.163953 2013-12-31 -0.044266 2014-01-31 -0.276921 2014-02-28 -0.001293 2014-03-31 0.113137 2014-04-30 0.111304 2014-05-31 0.327586 2014-06-30 0.111814 2014-07-31 -0.179980 2014-08-31 0.115889 2014-09-30 0.256965 2014-10-31 0.268745 2014-11-30 -0.001945 2014-12-31 -0.013047 2015-01-31 0.231661 2015-02-28 -0.362553 2015-03-31 -0.072341 2015-04-30 0.060371 2015-05-31 0.150457 2015-06-30 0.293683 2015-07-31 0.271781 Freq: M