top of page
Portfolio Website
Python McDonald's Nutrition Facts
What are the healthiest food options on the McDonald's nutrition menu? Which items are the least healthy?
Reading the data
![Screenshot (640)_edited.jpg](https://static.wixstatic.com/media/8c91a1_cabf2040e4a04f15bab19261dba9a363~mv2.jpg/v1/fill/w_544,h_123,al_c,q_80,enc_avif,quality_auto/Screenshot%20(640)_edited.jpg)
What the dataset looks likes
![Screenshot (641).png](https://static.wixstatic.com/media/8c91a1_00a344e163d54a81847d6a7385fc8739~mv2.png/v1/crop/x_272,y_204,w_1530,h_812/fill/w_569,h_301,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(641).png)
Getting rid of null values and duplicates
![Screenshot (650).png](https://static.wixstatic.com/media/8c91a1_1a9b844912b24485835a52efb4266a2f~mv2.png/v1/crop/x_174,y_339,w_794,h_176/fill/w_420,h_93,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(650).png)
![Screenshot (649).png](https://static.wixstatic.com/media/8c91a1_a34897fc073f4cd381d2cce7056c8f1f~mv2.png/v1/crop/x_268,y_209,w_365,h_62/fill/w_447,h_76,al_c,lg_1,q_85,enc_avif,quality_auto/Screenshot%20(649).png)
![Screenshot (652).png](https://static.wixstatic.com/media/8c91a1_359583474eff49478a52e2854ca2df7d~mv2.png/v1/crop/x_153,y_214,w_952,h_748/fill/w_354,h_278,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(652).png)
![Screenshot (667).png](https://static.wixstatic.com/media/8c91a1_bc0f3843fd1340549b05da84cedd0a43~mv2.png/v1/crop/x_265,y_553,w_668,h_109/fill/w_263,h_43,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(667).png)
Which category is consumed the most?
![Screenshot (647).png](https://static.wixstatic.com/media/8c91a1_2be917ac2e034130a76a9f4bfd6e2540~mv2.png/v1/crop/x_134,y_505,w_671,h_208/fill/w_602,h_187,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(647).png)
![Screenshot (648).png](https://static.wixstatic.com/media/8c91a1_262e0e51aa454878aae6cdd38af9c7c2~mv2.png/v1/crop/x_176,y_217,w_521,h_281/fill/w_406,h_219,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(648).png)
![yep.png](https://static.wixstatic.com/media/8c91a1_11cb2767899645a39b7c4b34b0df0d1a~mv2.png/v1/fill/w_530,h_481,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/yep.png)
What are the average calories per section?
![Screenshot (656).png](https://static.wixstatic.com/media/8c91a1_f37cd0ee61d243fca4198d8a4a569357~mv2.png/v1/crop/x_159,y_302,w_678,h_115/fill/w_537,h_91,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(656).png)
![section calories.png](https://static.wixstatic.com/media/8c91a1_02cf3a7106644c40904d89197d85527c~mv2.png/v1/fill/w_571,h_581,al_c,q_85,enc_avif,quality_auto/section%20calories.png)
Average protein per section.
![Screenshot (659).png](https://static.wixstatic.com/media/8c91a1_c9e73a02f1e74177ab2e3287a5621f7a~mv2.png/v1/crop/x_257,y_364,w_913,h_358/fill/w_512,h_201,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(659).png)
![Screenshot (658).png](https://static.wixstatic.com/media/8c91a1_ba6f66a558c34dfe93f68d4871a7e2a4~mv2.png/v1/crop/x_291,y_383,w_754,h_633/fill/w_363,h_305,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(658).png)
Average carbohydrates per section.
![Screenshot (657).png](https://static.wixstatic.com/media/8c91a1_709d821c4a484c39be42d40cf1ccb576~mv2.png/v1/crop/x_760,y_316,w_888,h_361/fill/w_570,h_232,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(657).png)
![Screenshot (661).png](https://static.wixstatic.com/media/8c91a1_6004e654169940cbbca232b8469940b5~mv2.png/v1/crop/x_853,y_310,w_585,h_527/fill/w_370,h_333,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(661).png)
Average Sodium per section
![Screenshot (660).png](https://static.wixstatic.com/media/8c91a1_e7d49a9737eb4865982464bef10e694b~mv2.png/v1/crop/x_773,y_300,w_719,h_377/fill/w_565,h_296,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(660).png)
![Screenshot (662).png](https://static.wixstatic.com/media/8c91a1_9b4ba7860570438fb44a24ced46a69ce~mv2.png/v1/crop/x_754,y_361,w_811,h_598/fill/w_481,h_355,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(662).png)
Average Cholesterol per section
![Screenshot (663).png](https://static.wixstatic.com/media/8c91a1_37418b5ad99046d1a1c1a5fd163e2974~mv2.png/v1/crop/x_272,y_297,w_840,h_329/fill/w_515,h_202,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(663).png)
![Screenshot (665).png](https://static.wixstatic.com/media/8c91a1_a57b82a2fbb14e149a094f7696309612~mv2.png/v1/crop/x_291,y_233,w_891,h_764/fill/w_448,h_384,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(665).png)
Average total fat per section
![Screenshot (666).png](https://static.wixstatic.com/media/8c91a1_94bdb6f49f6140abadd80b6d631e30a1~mv2.png/v1/crop/x_249,y_240,w_818,h_326/fill/w_504,h_201,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(666).png)
![Screenshot (668).png](https://static.wixstatic.com/media/8c91a1_7934b3a1df734f66b32e8d34ccb3db2d~mv2.png/v1/crop/x_307,y_236,w_875,h_738/fill/w_359,h_303,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(668).png)
Top 5 lowest calorie items per section
Breakfast items
![Screenshot (669).png](https://static.wixstatic.com/media/8c91a1_6a961c214b504f75815c9f43c50a4a7f~mv2.png/v1/crop/x_281,y_243,w_1524,h_690/fill/w_477,h_216,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(669).png)
Beef & Pork Items
![Screenshot (670).png](https://static.wixstatic.com/media/8c91a1_cbb6c68f381a48468e3a1c5331deaf0f~mv2.png/v1/crop/x_265,y_316,w_1549,h_578/fill/w_528,h_197,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(670).png)
Chicken & Fish Items
![Screenshot (671).png](https://static.wixstatic.com/media/8c91a1_ee1265b2d48b43cba7a95efa188233f7~mv2.png/v1/crop/x_256,y_233,w_1530,h_700/fill/w_536,h_245,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(671).png)
Smoothies & Shakes Items
![Screenshot (674).png](https://static.wixstatic.com/media/8c91a1_4dac85249ed2499ea716814aff8aafdb~mv2.png/v1/crop/x_256,y_233,w_1527,h_700/fill/w_534,h_245,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(674).png)
Snacks and Sides Items
![Screenshot (675).png](https://static.wixstatic.com/media/8c91a1_1de15ba5d7344ee0a8715cc7b16023a0~mv2.png/v1/crop/x_256,y_227,w_1482,h_527/fill/w_551,h_196,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(675).png)
Meals to avoid on a standard 2000-calorie diet.
Each meal will average no more than 666.7 calories (2000.1 calories a day) if the calories are spread out evenly. This only takes into account calories. Calories are not the only determining factor on food you should avoid, but calorie management is one of the most important.
![Screenshot (676)_edited.jpg](https://static.wixstatic.com/media/8c91a1_b87414e29c4143c69fbf1f56229448eb~mv2.jpg/v1/crop/x_0,y_0,w_709,h_34/fill/w_605,h_29,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(676)_edited.jpg)
![Screenshot (680).png](https://static.wixstatic.com/media/8c91a1_997723817c444d1f94b10006126e0be7~mv2.png/v1/crop/x_272,y_294,w_1479,h_492/fill/w_541,h_180,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(680).png)
![Screenshot (681).png](https://static.wixstatic.com/media/8c91a1_7cfd58f394f0465a9abf44cb89cceabd~mv2.png/v1/crop/x_281,y_307,w_1470,h_489/fill/w_541,h_180,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(681).png)
![Screenshot (682).png](https://static.wixstatic.com/media/8c91a1_70cfa69cf2554f48a8461f9795d0ba55~mv2.png/v1/crop/x_259,y_297,w_1501,h_454/fill/w_542,h_164,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(682).png)
![Screenshot (683).png](https://static.wixstatic.com/media/8c91a1_437726b756b34df8ba808cf9b6a2c2b9~mv2.png/v1/crop/x_278,y_288,w_1492,h_435/fill/w_542,h_158,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(683).png)
![Screenshot (684).png](https://static.wixstatic.com/media/8c91a1_9586c52c2c864dbeafb92bbb297846c8~mv2.png/v1/crop/x_256,y_300,w_1498,h_476/fill/w_538,h_171,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(684).png)
![Screenshot (685).png](https://static.wixstatic.com/media/8c91a1_6e809b20d914403b8c2d063c45b99011~mv2.png/v1/crop/x_236,y_310,w_1517,h_441/fill/w_533,h_155,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(685).png)
![Screenshot (686)_edited.jpg](https://static.wixstatic.com/media/8c91a1_6b7e1923d96c4ca4b6bd3192babc62fa~mv2.jpg/v1/fill/w_531,h_137,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(686)_edited.jpg)
Sections that are highest in saturated fat, cholesterol, sodium, and total fat.
![Screenshot (687).png](https://static.wixstatic.com/media/8c91a1_5120e436fbe2464ebac6b8aa5cca8d72~mv2.png/v1/crop/x_272,y_236,w_1483,h_323/fill/w_785,h_171,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(687).png)
Sections that are the highest in Vitamin A, Vitamin C, Iron, Calcium, and Dietary Fiber
![Screenshot (687).png](https://static.wixstatic.com/media/8c91a1_5120e436fbe2464ebac6b8aa5cca8d72~mv2.png/v1/crop/x_268,y_607,w_1517,h_390/fill/w_778,h_200,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(687).png)
Is there are correlation between Cholesterol and Calories from Fat?
![Screenshot (689).png](https://static.wixstatic.com/media/8c91a1_b8681740f8f945d2a496caad1f4eb942~mv2.png/v1/crop/x_262,y_201,w_955,h_815/fill/w_465,h_397,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(689).png)
Each sections top 5 foods that you should avoid due to being high in calories, cholesterol, sodium, saturated fat, total fat, and sugars.
This section is if you are worried about your overall health instead of just weight loss or weight maintenance.
Breakfast Items
![Screenshot (690).png](https://static.wixstatic.com/media/8c91a1_8066ab60d3944a298f0f7bcdf8659083~mv2.png/v1/crop/x_246,y_201,w_1188,h_220/fill/w_615,h_114,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(690).png)
![Screenshot (691).png](https://static.wixstatic.com/media/8c91a1_46022df50114423682e7f8a22262a490~mv2.png/v1/crop/x_233,y_204,w_939,h_776/fill/w_376,h_311,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(691).png)
![Screenshot (693).png](https://static.wixstatic.com/media/8c91a1_2feab3dfe8d24f7d9e82102e0de4b14c~mv2.png/v1/crop/x_252,y_204,w_872,h_780/fill/w_376,h_336,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(693).png)
Beverage Items
![Screenshot (697).png](https://static.wixstatic.com/media/8c91a1_2ba6d0fcf43143af9e8b92cbe4a6053d~mv2.png/v1/crop/x_211,y_211,w_1147,h_220/fill/w_509,h_98,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(697).png)
![Screenshot (694).png](https://static.wixstatic.com/media/8c91a1_54c68c9e7fb6436a9b69e1c7d9ed8c2f~mv2.png/v1/crop/x_121,y_195,w_690,h_783/fill/w_287,h_326,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(694).png)
![Screenshot (696).png](https://static.wixstatic.com/media/8c91a1_9dd92f34ac5046349238754d9b1b53c8~mv2.png/v1/crop/x_182,y_208,w_690,h_792/fill/w_307,h_352,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(696).png)
Chicken & Fish
![Screenshot (698).png](https://static.wixstatic.com/media/8c91a1_5b7ff09aadf646f6a3e69ea312592eea~mv2.png/v1/crop/x_268,y_283,w_1029,h_212/fill/w_568,h_117,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(698).png)
![Screenshot (699).png](https://static.wixstatic.com/media/8c91a1_f3832a9e216f474faea0f8908b0a048d~mv2.png/v1/crop/x_236,y_198,w_856,h_805/fill/w_322,h_303,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(699).png)
![Screenshot (700).png](https://static.wixstatic.com/media/8c91a1_ba884706d926409fbfde956b3cd58d29~mv2.png/v1/crop/x_211,y_198,w_811,h_796/fill/w_322,h_316,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(700).png)
Smoothies & Shakes
![Screenshot (701).png](https://static.wixstatic.com/media/8c91a1_ba0dd9aecca84ec9aef3e3ed13d467e8~mv2.png/v1/crop/x_243,y_214,w_1096,h_204/fill/w_638,h_119,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(701).png)
![Screenshot (702).png](https://static.wixstatic.com/media/8c91a1_f6dfe8acdf9c49d2b5c8d57218d09c48~mv2.png/v1/crop/x_246,y_198,w_741,h_802/fill/w_345,h_373,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(702).png)
![Screenshot (704).png](https://static.wixstatic.com/media/8c91a1_5574a975789b46c7bbdcd1fe0bb40d73~mv2.png/v1/crop/x_224,y_204,w_818,h_796/fill/w_344,h_335,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(704).png)
Salads
![Screenshot (706).png](https://static.wixstatic.com/media/8c91a1_8d404bb7449e4f17a7316d578d7836cd~mv2.png/v1/crop/x_265,y_195,w_716,h_792/fill/w_332,h_367,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(706).png)
![Screenshot (707).png](https://static.wixstatic.com/media/8c91a1_e1f503e68a5348f98bc8896d1cba82eb~mv2.png/v1/crop/x_240,y_204,w_696,h_789/fill/w_331,h_375,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Screenshot%20(707).png)
bottom of page