license:apache-2.0 region:us
---
license: apache-2.0
---
import pandas as pd
import csv

# Load the CSV data
csv_data = """Food_Category,Food_Subcategory,Food_Name,Serving_Description,Serving_Amount,Serving_Unit,Carbohydrate_Grams,Protein_grams,Fat_grams,Fiber_grams,Notes,,
Starch,Bread,White Bread,Serving Size,29,g,15,,,,Approximate,,
Starch,Bread,Brown Bread,Serving Size,29,g,15,,,,Approximate,,
Starch,Bread,Pav,Serving Size,29,g,15,,,,Approximate,,
Starch,Bread,Rusk,Serving Size,2,no,15,,,,Approximate,,
Starch,Cereal,Muesli,Serving Size,19.2,g,15,,,,Approximate,,
Starch,Cereal,Oats,Serving Size,24,g,15,,,,Approximate,,
Starch,Cereal,Chocos,Serving Size,18,g,15,,,,Approximate,,
Starch,Cereal,Cornflakes,Serving Size,16,g,15,,,,Approximate,,
Starch,,Chapati,Raw weight of atta/flour,22,g,15,,,,Approximate,,
Starch,,Bhakri,Raw weight,22,g,15,,,,Approximate,,
Starch,,Aloo Paratha,15 g flour and 21 g potato,,g,15,,,,Approximate,,
Starch,Rice,Raw Rice,Raw weight,19,g,15,,,,Approximate,,
Starch,Rice,Cooked Rice,Cooked weight,65,g,15,,,,Approximate,,
Starch,Rice,Egg Biryani,Raw weight,19,g,15,,,,Similar for Chicken and Mutton biryani,,
Starch,Rice,Pulao,Raw weight,19,g,15,,,,Approximate,,
Starch,Noodles,Noodles,Raw weight,25,g,15,,,,Approximate,,
Starch,Other,Poha,Raw weight,19,g,15,,,,Approximate,,
Starch,Other,Upma,Raw weight,20,g,15,,,,Approximate,,
Starch,Other,Sabudana,Raw weight,17,g,15,,,,Approximate,,
Vegetable,Starchy Vegetables,Potato Vegetable,66 g potato,,g,15,,,,Approximate,,
Vegetable,Starchy Vegetables,Green Peas,Serving Size,94,g,15,,,,Approximate,,
Vegetable,Starchy Vegetables,Popcorn,Act II,24.6,g,15,,,,Approximate,,
Vegetable,Starchy Vegetables,Sweet Potato,Serving Size,53,g,15,,,,Approximate,,
Vegetable,Starchy Vegetables,Sweet Corn,Serving Size,61,g,15,,,,Approximate,,
Pulses,,Dal,Raw weight,25,g,15,,,,Approximate,,
Pulses,,Usal,Raw weight,25,g,15,,,,Approximate,,
Pulses,,Moong Chilla,Raw weight,25,g,15,,,,Approximate,,
Pulses,,Moong,Raw weight,25,g,15,,,,Approximate,,
Pulses,,Roasted Chana,Raw weight,25,g,15,,,,Approximate,,
Fruit,,Apricots,Fresh,4,no,~ 150,g,15,,,,Approximate
Fruit,,Banana,Small,1,no,15,,,,120 g,,
Fruit,,Blackberries,,3/4,cup,15,,,,Approximate,,
Fruit,,Cherries,Fresh,12,no,15,,,,90 g,,
Fruit,,Figs,Fresh,2,no,15,,,,medium (100 g),,
Fruit,,Fruit cocktail,,1/2,cup,15,,,,Approximate,,
Fruit,,Grapefruit,Large,1/2,no,15,,,,300 g,,
Fruit,,Grapes,Medium,12,no,15,,,,90 g,,
Fruit,,Guava,Medium,1,no,15,,,,120 g,,
Fruit,,Kaki,Small,1,no,15,,,,Approximate,,
Fruit,,Kumquat,,5,no,15,,,,100 g,,
Fruit,,Kiwi,,1,no,15,,,,100 g,,
Fruit,,Melon,Serving Size,1,slice,15,,,,300 g,,
Fruit,,Nectarine,Small,1,no,15,,,,150 g,,
Fruit,,Orange,Small,1,no,15,,,,180 g,,
Fruit,,Strawberries,Medium,7,no,15,,,,Approximate,,
Fruit,,Pineapple,Canned,1/2,cup,15,,,,2 slices,,
Fruit,,Plums,Small,2,no,15,,,,150 g,,
Fruit,,Plums,Dried/Prunes,3,no,15,,,,Approximate,,
Fruit,,Raisins,Serving Size,2,Tbsp,15,,,,Approximate,,
Fruit,,Tangerine,Small,2,no,15,,,,Approximate,,
Fruit,,Peach,Canned,1/2,cup,15,,,,Approximate,,
Fruit,,Pineapple,Fresh,3/4,cup,15,,,,3 slices,,
Fruit,,Peach,Fresh,Medium,1,no,15,,,,120 g,
Fruit,Juice,Apple Juice,,1/2,cup,15,,,,Approximate,,
Fruit,Juice,Grapefruit Juice,,1/2,cup,15,,,,Approximate,,
Fruit,Juice,Grape Juice,,1/3,cup,15,,,,Approximate,,
Fruit,Juice,Orange Juice,,1/2,cup,15,,,,Approximate,,
Fruit,Juice,Pineapple Juice,,1/2,cup,15,,,,Approximate,,
Milk,Dairy,Curd,Serving Size,166,g,5,,,,Approximate,,
Milk,Dairy,Milk,Serving Size,100,ml,5,,,,Approximate,,
Milk,Dairy,Paneer,Serving Size,250,g,5,,,,Approximate,,
Snack,Sweets,Sugar,Serving Size,1,tablespoon,15,g,,,,Approximate,
Snack,Sweets,Honey,Serving Size,1,tablespoon,15,g,,,,Approximate,
Snack,Sweets,Jaggery,Serving Size,1,tablespoon,15,g,,,,Approximate,
Snack,Sweets,Gulab Jamun,no sugar syrup,40,g,15,,,,1 no.,,
Snack,Sweets,Seviyan Kheer,Serving Size,15,g,,,,Approximate,,,
Snack,Sweets,Motichur Ladoo,Serving Size,0.5,no,15,,,,Approximate,,
Snack,Sweets,Puran Poli,Serving Size,0.5,no,15,,,,Approximate,,
Snack,Sweets,Cup Cake,edges shaved off,1,no,15,,,,Approximate,,
Snack,Sweets,Rasmalai,no sugar syrup,1,no,15,,,,Approximate,,
Snack,Sweets,Pudding,Serving Size,1,small pc,15,,,,Approximate,,
Snack,Other,"Veg Pizza (6"")",Serving Size,1,slice,15,,,,Approximate,,
Snack,Other,Khandvi,Serving Size,12,medium pcs,15,,,,Approximate,,
Snack,Other,French Fries,Serving Size,12,no,15,,,,66 g potato,,
Snack,Other,Muthia,Serving Size,3,small,15,,,,Approximate,,
Snack,Other,Dhokla,Serving Size,2,no,15,,,,Approximate,,
Snack,Other,Banana chips,Serving Size,20,chips,15,,,,Approximate,,
Snack,Nuts,Dates (fresh),Serving Size,6,no,15,,,,Approximate,,
Snack,Nuts,Dry dates,Serving Size,3,no,15,,,,Approximate,,
Snack,Nuts,Raisins,Serving Size,35,no,15,,,,Approximate,,
Snack,Nuts,Groundnuts,Serving Size,30,no,15,,,,Approximate,,
Snack,Nuts,Cashewnuts,Serving Size,45,no,15,,,,Approximate,,
Snack,Nuts,Walnuts,Serving Size,65,no,15,,,,Approximate,,
Snack,Nuts,Almonds,Serving Size,110,no,15,,,,Approximate,,
Snack,Nuts,Pistachios,Serving Size,88,no,15,,,,Approximate,,
Snack,Biscuits,Parle G,Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Marie gold,Serving Size,4,biscuits,15,,,,Approximate,,
Snack,Biscuits,Good day (cashew,pista badam),Serving Size,3,biscuits,15,,,,Approximate,
Snack,Biscuits,Good day (butter),Serving Size,2,biscuits,15,,,,Approximate,,
Snack,Biscuits,Priya gold classic cream,Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Pickwick,Serving Size,4,biscuits,15,,,,Approximate,,
Snack,Biscuits,50-50 maska chaska,Serving Size,7,biscuits,15,,,,Approximate,,
Snack,Biscuits,Chocopie,Serving Size,1,pie,15,,,,Approximate,,
Snack,Biscuits,Nutri Choice (ragi / oats),Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Bourbon,Serving Size,1.5,biscuits,15,,,,Approximate,,
Snack,Biscuits,Hide and seek,Serving Size,4,biscuits,15,,,,Approximate,,
Snack,Biscuits,Dark fantasy,Serving Size,2,biscuits,15,,,,Approximate,,
Snack,Biscuits,Oreo,Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Mc Vities Digestive,Serving Size,2.5,biscuits,15,,,,Approximate,,
Snack,Biscuits,Cream Crackers,Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Monaco,Serving Size,5,biscuits,15,,,,Approximate,,
Snack,Biscuits,Pure Magic,Serving Size,2,biscuits,15,,,,Approximate,,
Snack,Biscuits,Britannia 5 grain,Serving Size,1,biscuit,15,,,,Approximate,,
Snack,Biscuits,Digestive High Fiber,Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Jim Jam,Serving Size,2,biscuits,15,,,,Approximate,,
Snack,Biscuits,Oatmeal Cookies,Serving Size,3,biscuits,15,,,,Approximate,,
Snack,Biscuits,Nice,Serving Size,2,biscuits,15,,,,Approximate,,
Snack,Chips,Frito Lays (India's Magic Masala),26 g (17 chips),26,g,13.4,,,,Approximate,,
Snack,Juices,Réal fruit juice,100 ml,100,ml,13.5,,,,Approximate,,
Snack,Others,Paani puri,5,puris,20,,,,,Approximate,,
Snack,Others,Dahi puri,5,puris,21,,,,,Approximate,,
Snack,Others,Aaloo tikki,1,patty,11,,,,,Approximate (50 g potato),,
Snack,Others,Bhel puri,1,cup,26,,,,,Approximate,,
Snack,Others,Dahi wada,1,wada,22,,,,,Approximate,,
Snack,Others,Sev puri,5,puris,33,,,,,Approximate,,
Snack,Others,Bread pakora,1,no,24,,,,,Approximate,,
Snack,Others,Onion pakora,1,no,10,,,,,Approximate (big),,
Snack,Others,Masala peanuts,30,g,10,,,,,Approximate,,
Snack,Others,Masala mattar,30,g,16,,,,,Approximate,,
Snack,Others,Chakli,30,g,7,,,,,Approximate (1no),,
Snack,Others,Jeera butter,30,g,15,,,,,Approximate (4 nos),,
Snack,Others,Khari,30,g,15,,,,,Approximate (3 nos small),,
Snack,Others,Cheese sandwich,1,no,22,,,,,Approximate (2 bread slices),,
Snack,Others,Grilled sandwich (small),1,no,26,,,,,"Approximate (2 bread slices, potato filling)",,
Snack,Others,Veg Frankie or Veg wrap or Veg roti,1,no,34,,,,,Approximate,,
Snack,Others,Chicken Frankie or Chicken Wrap or Chicken roti,1,no,28,,,,,Approximate,,
Snack,Others,Veg cutlet,1,no,21,,,,,Approximate,,
Snack,Others,Samosa,1,no,35,,,,,Approximate,,
Snack,Others,Wada,1,no,20,,,,,Approximate,,
Indian Cuisine,South Indian,Idli Sambhar,2 Idlis (60 g each),2,no,30,,,,60 g each,,
Indian Cuisine,South Indian,Idli Sambhar,Sambhar (130 g),130,g,29,,,,,,
Indian Cuisine,South Indian,Idli Sambhar,Chutney (30 g),30,g,2,,,,,,
Indian Cuisine,South Indian,Medu Vada,2 Vadas (60 g each),2,no,43,,,,60 g each,,
Indian Cuisine,South Indian,Medu Vada,Sambhar (130 g),130,g,29,,,,,,
Indian Cuisine,South Indian,Medu Vada,Chutney (30 g),30,g,2,,,,,,
Indian Cuisine,South Indian,Sada Dosa,Dosa (60 g each),1,no,28,,,,60 g each,,
Indian Cuisine,South Indian,Sada Dosa,Sambhar (130 g),130,g,29,,,,,,
Indian Cuisine,South Indian,Sada Dosa,Chutney (30 g),30,g,2,,,,,,
Indian Cuisine,South Indian,Appam,Serving Size,1,no,40,,,,65g,,
Indian Cuisine,South Indian,Masala Dosa,Dosa (60 g),1,no,28,,,,60 g each,,
Indian Cuisine,South Indian,Masala Dosa,Potato Bhaji (100 g),100,g,14,,,,,,
Indian Cuisine,South Indian,Masala Dosa,Sambhar (65 g),65,g,14,,,,,,
Indian Cuisine,South Indian,Masala Dosa,Chutney (30 g),30,g,2,,,,,,
Indian Cuisine,South Indian,Rawa Masala Dosa,Dosa (60 g),1,no,42,,,,60 g each,,
Indian Cuisine,South Indian,Rawa Masala Dosa,Potato Bhaji (100 g),100,g,14,,,,,,
Indian Cuisine,South Indian,Rawa Masala Dosa,Sambhar (65 g),65,g,14,,,,,,
Indian Cuisine,South Indian,Rawa Masala Dosa,Chutney (30 g),30,g,2,,,,,,
Indian Cuisine,South Indian,Malabari Paratha,Serving Size,180,g,105,,,,,,
Indian Cuisine,South Indian,Tamarind Rice,Serving Size,350,g,58,,,,,,
Indian Cuisine,South Indian,Hyderabadi Biryani,Serving Size,1,paratha,20,,,,40 g paratha,,
Indian Cuisine,South Indian,Rasam,Serving Size,350,g,49,,,,,,
Indian Cuisine,South Indian,Avial,Serving Size,100,g,5,,,,,,
Indian Cuisine,South Indian,Ishtew,Serving Size,280,g,36,,,,,,
Indian Cuisine,South Indian,Vazhakkaithoran,Serving Size,136,g,20,,,,,,
Indian Cuisine,South Indian,Mirchkasalan,Serving Size,100,g,12,,,,,,
Indian Cuisine,South Indian,Chicken Chettinad,Serving Size,220,g,8,,,,,,
Indian Cuisine,South Indian,Pal Payasam,Serving Size,140,g,25,,,,,,
Indian Cuisine,South Indian,Gillefirdaus,Serving Size,145,g,35,,,,,,
Indian Cuisine,West Indian,Aamti,Serving Size,100,g,30,,,,,,
Indian Cuisine,West Indian,Tomato Sar,Serving Size,250,g,12,,,,,,
Indian Cuisine,West Indian,Masala Bhaat,Serving Size,140,g,57,,,,,,
Indian Cuisine,West Indian,Prawn Pulav,Serving Size,250,g,60,,,,,,
Indian Cuisine,West Indian,Kombdi Vade,Serving Size,200,g,38,,,,200 g gravy (120 g chicken + 80 g gravy) + 2 wade (30 g each),,
Indian Cuisine,West Indian,Tamatara Ursev Ki Subzi,Serving Size,150,g,12,,,,,,
Indian Cuisine,West Indian,Gatte Ki Subzi,Serving Size,200,g,33,,,,200 g (gatta 120 g + 80 g gravy),,
Indian Cuisine,West Indian,Makkai Nu Shaak,Serving Size,230,g,30,,,,,,
Indian Cuisine,West Indian,Goan Fish Curry,Serving Size,329,g,28,,,,,,
Indian Cuisine,West Indian,Fish Caldeen,Serving Size,250,g,10,,,,,,
Indian Cuisine,West Indian,Laalmaas,Serving Size,220,g,22,,,,220 g (120 g fish +100 g gravy),,
Indian Cuisine,West Indian,Mutton Kolhapuri,Serving Size,220,g,10,,,,,,
Indian Cuisine,West Indian,Pork Vindaloo,Serving Size,220,g,5,,,,,,
Indian Cuisine,West Indian,Sukhe Mutton,Serving Size,340,g,16,,,,,,
Indian Cuisine,West Indian,Safedmaas,Serving Size,230,g,5,,,,,,
Indian Cuisine,West Indian,Bharwanmirch,Serving Size,120,g,13,,,,,,
Indian Cuisine,North Indian,Kulcha,Serving Size,1,no,33,,,,68 g,,
Indian Cuisine,North Indian,Plain Paratha,Serving Size,1,no,31,,,,75 g,,
Indian Cuisine,North Indian,Tandoori Roti,Serving Size,1,no,35,,,,72 g,,
Indian Cuisine,North Indian,Naan,Serving Size,1,no,47,,,,90 g,,
Indian Cuisine,North Indian,Cholebhature,Chole,1/2,cup,30,,,,125 g,,
Indian Cuisine,North Indian,Cholebhature,Bhature,2,no,15,,,,25 g each,,
Indian Cuisine,North Indian,Cholebhature,Bhature,1,no,35,,,,85 g,,
Indian Cuisine,North Indian,Makkeki Roti,Serving Size,1,no,24,,,,50 g,,
Indian Cuisine,North Indian,Sarso Da saag,Serving Size,250,g,17,,,,,,
Indian Cuisine,North Indian,Dal Makhni,Serving Size,200,g,58,,,,,,
Indian Cuisine,North Indian,Dum Aloo,Serving Size,230,g,29,,,,,,
Indian Cuisine,North Indian,Bainganbharta,Serving Size,150,g,9,,,,,,
Indian Cuisine,North Indian,Dum Bhindi,Serving Size,285,g,15,,,,,,
Indian Cuisine,North Indian,Tinda Masala,Serving Size,100,g,6,,,,,,
Indian Cuisine,North Indian,Gobhimusallam,Serving Size,250,g,22,,,,,,
Indian Cuisine,North Indian,Shammi Kebab,Serving Size,1,no,5,,,,50 g,,
Indian Cuisine,North Indian,Reshmi Kebab,Serving Size,150,g,4,,,,,,
Indian Cuisine,North Indian,Kakori Kebab,Serving Size,3 kebabs (102 g),3,kbabs,3,,,,102g,
Indian Cuisine,North Indian,Chicken Tandoori,Serving Size,150,g,3,,,,,,
Indian Cuisine,North Indian,Rogan Josh,Serving Size,265,g,3,,,,,,
Indian Cuisine,North Indian,Chicken Makhanwala (Butter Chicken),Serving Size,200,g,6,,,,,,
Indian Cuisine,North Indian,Acharigosht,Serving Size,30,g,16,,,,,,
Indian Cuisine,North Indian,Jalebi,Serving Size,1,no,41,,,,25 g,,
Indian Cuisine,North Indian,Kulfi,Serving Size,125 g (1 stick),125,g,17,,,,,
Indian Cuisine,North Indian,Sooji Halwa,Serving Size,100,g,38,,,,,,
Indian Cuisine,East Indian,Momos,Serving Size,1,no,9,,,,25 g,,
Indian Cuisine,East Indian,Jhalmuri,Serving Size,38,g,8,,,,,,
Indian Cuisine,East Indian,Thukpa,Serving Size,200,g,35,,,,,,
Indian Cuisine,East Indian,Luchi,Serving Size,2 Luchi (25 g each),2,no,15,,,,,
Indian Cuisine,East Indian,Ghee Bhaat,Serving Size,200,g,78,,,,,,
Indian Cuisine,East Indian,Cholar Dal,Serving Size,1 serving (150 g),150,g,31,,,,,
Indian Cuisine,East Indian,Lau Chingri,Serving Size,150 g,150,g,10,,,,150 g (prawns 50 g + 50 g dhudhi + 50 g gravy),
Indian Cuisine,East Indian,Doimach,Serving Size,200,g,14,,,,,,
Indian Cuisine,East Indian,Macherjhol,Serving Size,250,g,13,,,,250 g (150 g Fish + 100 g gravy),,
Indian Cuisine,East Indian,Sandesh,Serving Size,1,no,16,,,,30 g,,
Indian Cuisine,East Indian,Patishapta,Serving Size,1,no,35,,,,80 g,,
Indian Cuisine,East Indian,Rosogullah,Serving Size,1,no,33,,,,15 g,,
Indian Cuisine,East Indian,Chum Chum,Serving Size,1 Chum Chum (50 g),50,g,49,,,,,
Indian Cuisine,East Indian,Malpua,Serving Size,1 piece (60 g),60,g,23,,,,,
Indian Cuisine,East Indian,Mistidoi,Serving Size,1 serving (50 g),50,g,34,,,,,
Indian Cuisine,East Indian,Balushahi,Serving Size,1,no,28,,,,35 g,,
International Cuisine,Thai,Tom Yum Gong,Serving Size,120,g,4,,,,,,
International Cuisine,Thai,Som Tam'Spicy Papaya Salad',Serving Size,200,g,29,,,,,,
International Cuisine,Thai,Galoumbihartao-hou,Serving Size,200,g,36,,,,,,
International Cuisine,Thai,Tung Tong,Serving Size,1,no,4,,,,,,
International Cuisine,Thai,Krathak Fire Cracker,Serving Size,150 g (4 pc.),150,g,11,,,,,
International Cuisine,Thai,Gai Med Ma Moung (Chicken Cashew nuts),Serving Size,360,g,40,,,,,,
International Cuisine,Thai,Stuffed Chicken Breast,Serving Size,400,g,10,,,,,,
International Cuisine,Thai,Geng Kheaw Wan Gai (Green Curry Chicken),Serving Size,300,g,14,,,,,,
International Cuisine,Thai,Steam Rice,Serving Size,180 g cooked (60 g raw),180,g,42,,,,,
International Cuisine,Thai,Kao Phad Fried Rice,Serving Size,300,g,86,,,,,,
International Cuisine,Thai,Pad Thai,Serving Size,390,g,50,,,,,,
International Cuisine,Italian,Minestrone Soup,Serving Size,400,g,21,,,,,,
International Cuisine,Italian,Pasta e Fagioli (Pasta and Beans Soup),Serving Size,210,g,21,,,,,,
International Cuisine,Italian,Risotto,Serving Size,100,g,42,,,,,,
International Cuisine,Italian,Caponata,Serving Size,185,g,12,,,,,,
International Cuisine,Italian,Spaghetti with Meat Balls,Serving Size,375,g,49,,,,,,
International Cuisine,Italian,Pasta with Arabiatta Sauce,Serving Size,275,g,38,,,,,,
International Cuisine,Italian,Lasagna,Serving Size,300,g,58,,,,,,
International Cuisine,Italian,"12"" Plain Medium Thin Crust Pizza, no extra toppings",Serving Size,1 Slice (1/8th of a pizza: 55 g),55,g,16,,,,,
International Cuisine,Italian,Pasta with White Sauce,Serving Size,255,g,46,,,,,,
International Cuisine,Italian,Tiramisu,Serving Size,85,g,32,,,,,,
International Cuisine,Mexican,Mexican Corn Soup,Serving Size,230,g,20,,,,,,
International Cuisine,Mexican,Chimichangas,Serving Size,105,g,27,,,,,,
International Cuisine,Mexican,Chilli Con Carne,Serving Size,190,g,25,,,,,,
International Cuisine,Mexican,Pimento rice,Serving Size,125,g,54,,,,,,
International Cuisine,Mexican,Burrito,Serving Size,120,g,43,,,,,,
International Cuisine,Mexican,Quesadilla,Serving Size,90 g (1 no.),90,g,21,,,,,
International Cuisine,Mexican,Tacos,Serving Size,170,g,75,,,,,,
International Cuisine,Mexican,Nachos,Serving Size,50,g,19,,,,,,
International Cuisine,Mexican,Fajitas,Serving Size,120,g,31,,,,,,
International Cuisine,Mexican,Enchilada,Serving Size,400,g,83,,,,,,
International Cuisine,Chinese,Hot and Sour Soup,Serving Size,300,g,7,,,,,,
International Cuisine,Chinese,Wonton Soup,Serving Size,200,g,7,,,,,,
International Cuisine,Chinese,Manchow Soup (without noodles),Serving Size,210,g,12,,,,,,
International Cuisine,Chinese,Spring Rolls,Serving Size,120 g (1 pc. of 40 g),40,g,10,,,,,
International Cuisine,Chinese,Sichuan Beans,Serving Size,90,g,3,,,,,,
International Cuisine,Chinese,Stir Fried Chicken and Peppers,Serving Size,220,g,4,,,,,,
International Cuisine,Chinese,Chowmein,Serving Size,285,g,82,,,,,,
International Cuisine,Chinese,Hakka Noodles,Serving Size,285,g,75,,,,,,
International Cuisine,Chinese,Chinese Fried Rice,Serving Size,150,g,47,,,,,,
Fast Food,,Mc Chicken,1 no (163 g),163,g,45,,,,,,
Fast Food,,Mc Veggie,1 no (168 g),168,g,56,,,,,,
Fast Food,,Mc Aloo Tikki,1no (155 g),155,g,49,,,,,,
Fast Food,,Chicken Mc Grill,1no (140 g),140,g,33,,,,,,
Fast Food,,Fries,Regular,41,,,,,,,,
Fast Food,,Fries,Medium,58,,,,,,,,
Fast Food,,Fries,Large,82,,,,,,,,
Fast Food,Pizza Hut Regular Crust pizza,"12""",1,slice,27,,,,,,,
Fast Food,Pizza Hut Regular Crust pizza,"8""",1,slice,18,,,,,,,
Fast Food,Domino's Regular Crust Chicken Tikka pizza,"5"" Small",1,slice,19,,,,,,,
Fast Food,Domino's Regular Crust Chicken Tikka pizza,"10"" Medium",1,slice,21,,,,,,,
Fast Food,Domino's Regular Crust Chicken Tikka pizza,"12"" Large",1,slice,23,,,,,,,
Label,",Nutrients",Per 100 g,Per 30 g,,,,,,,,,
Label,",Energy Value",399,kcal,120,kcal,,,,,,,
Label,",Protein",10.2,g,3.1,g,,,,,,,
Label,",Carbohydrate",76.3,g,22.9,g,,,,,,,
Label,",Sugar",6.1,g,1.8,g,,,,,,,
Label,",Dietary Fibre",11.5,g,3.5,g,,,,,,,
Label,",Fat",5.9,g,1.8,g,,,,,,,
Label,",Saturated Fatty Acids",1.2,g,0.4,g,,,,,,,
Label,",Monounsaturated Fatty Acids",2.7,g,0.8,g,,,,,,,
Label,",Polyunsaturated Fatty Acids",1.9,g,0.6,g,,,,,,,
Label,",Trans Fatty Acids",0,g,0,g,,,,,,,
Label,",Cholesterol",0,mg,0,mg,,,,,,,
Label,",Iron",3.9,mg,1.2,mg,,,,,,,
"""

# Read the CSV data into a pandas DataFrame
df = pd.read_csv(io.StringIO(csv_data), header=0, skipinitialspace=True, keep_default_na=False)

# Fill NaN values with a placeholder
df.fillna('Unknown', inplace=True)
df.replace('', 'Unknown', inplace=True)

# Remove extra columns that may have been created by the trailing commas
df = df.loc[:, ~df.columns.str.contains('^Unnamed')]

# Handle the special case where there is a comma in the first column of the last rows: Label,",Nutrients",Per 100 g,Per 30 g,,,,,,,,,
# Rename the first column if it starts with a comma
if df.columns[0].startswith(','):
    df.rename(columns={df.columns[0]: 'Category_Label'}, inplace=True)

# Save the cleaned DataFrame to a new CSV file
df.to_csv('food_data_cleaned.csv', index=False, quoting=csv.QUOTE_MINIMAL)