mirror of
https://github.com/bvanroll/college-datascience.git
synced 2025-08-29 12:02:45 +00:00
fam
This commit is contained in:
195
4/Labo4.ipynb
Normal file
195
4/Labo4.ipynb
Normal file
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Labo 4 Data Science : pandas"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### 1. Pandas Series"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__Oefening 1 __ \n",
|
||||
"* Genereer een serie 1 vertrekkende van een lijst (met alle letters van het alfabet)\n",
|
||||
"* Genereer een serie 2 vertrekkende van een numpy array \n",
|
||||
"(met hierin de cijfers van 1 tot 26) \n",
|
||||
"* Genereer een serie 3 vertrekkende van een dict (met als key de cijfers van 1 tot 26 en als value de letters van het alfabet). \n",
|
||||
"\n",
|
||||
"Geef de index en data values van deze series een naam (name attribute) en druk de eerste en laatste elementen van de series uit.\n",
|
||||
"Geef nu ook : \n",
|
||||
"\n",
|
||||
"* alle elementen van serie 1 die zich op posities $0,4,8,14$ en $20$ bevinden\n",
|
||||
"* alle elementen van serie 1 die ook in serie 3 aanwezig zijn\n",
|
||||
"* alle elementen van serie 2 die niet in serie 3 aanwezig zijn\n",
|
||||
"* verdubbel elke waarde van serie 2\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__Oefening 2 __ \n",
|
||||
"\n",
|
||||
"Gegeven een serie opgevuld met 10 stukken fruit uit de soorten : apple, lemon,banana,kiwi\n",
|
||||
"\n",
|
||||
"```\n",
|
||||
"fruit = pd.Series(np.random.choice(['apple','lemon', 'banana','kiwi'], 10))\n",
|
||||
"```\n",
|
||||
"Genereer voor elk element in de serie een gewicht voor het fruit. Geef dan per soort het gemiddeld gewicht. Denk hierbij aan de functie $groupby$ die je kan toepassen op een serie. Gebruik 1 van de numpy $random$ methodes om 10 random gewichten te genereren."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### 2. Pandas Data Frames"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"df1 = pd.concat([ser2, ser3], axis=0)\n",
|
||||
"print(df1)\n",
|
||||
"print()\n",
|
||||
"\n",
|
||||
"df2 = pd.DataFrame({'col1': ser1, 'col2': ser2})\n",
|
||||
"print(df2.head())"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__Oefening 3 __\n",
|
||||
"Gegeven 3 csv files : _ratings.csv_ , _payments_csv_ en _genres.csv_ . \n",
|
||||
"\n",
|
||||
"* Load deze files in als 3 aparte data frames. Bekijk de gegevens in deze frames oa. via $head()$, $tail()$, $describe()$ en $info()$\n",
|
||||
"\n",
|
||||
"* plot de top 10 genre restaurants uit, m.a.w. welk type restaurants is het meest vertegenwoordigd in deze data, toon alleen de top 10. Voor zie op de x-as de verschillende types en op de y-as de aantallen. (_Tip_ : gebruik de $value_counts$ methode) \n",
|
||||
"\n",
|
||||
"* plot de verschillende betalingsmanieren t.o.v. hoe vaak deze zijn gebruikt in de data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__ Oefening 4 __\n",
|
||||
"Merge de 3 bovenstaande dataframes tot 1 dataframe. Zorg ervoor dat alle user ratings mee opgenomen zijn in deze tabel."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__Oefening 5__ Data cleaning : opsporen van ontbrekende data\n",
|
||||
"\n",
|
||||
"Ga na hoeveel data ontbreekt in je gemergd eindresultaat (aantal NA's). Maak hiertoe een nieuwe dataframe aan. De eerste kolom is het aantal NAN's voor elke kolom van je gemerged eindresultaat. De tweede kolom is het percentage van NA's. _Tip :_ gebruik de $isnull$ methode.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__ Oefening 5 vervolg __ \n",
|
||||
"\n",
|
||||
"De _Upayment_ kolom heeft een verwaarloosbaar percentage aan niet ingevulde velden. Deze zet je via de $fillna$ methode op de default betaalwijze : 'cash'\n",
|
||||
"\n",
|
||||
"De _Rtype_ kolom heeft echter een hoog percentage aan niet ingevulde data. De rijen waarvoor dit het geval is mag je verwijderen."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"__Oefening 6__ Data grouping : \n",
|
||||
"\n",
|
||||
"Groepeer je opgekuiste datatabel volgens het type restaurant. Maak nu een datatabel waarin je de verschillende ratings per type restaurants gesorteerd (van groot naar klein) weergeeft.\n",
|
||||
"\n",
|
||||
"Plot voor elk restauranttype de verschillende ratings in een barplot.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.4"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
917
4/genres.csv
Normal file
917
4/genres.csv
Normal file
@@ -0,0 +1,917 @@
|
||||
placeID,Rtype
|
||||
135110,Spanish
|
||||
135109,Italian
|
||||
135107,Latin_American
|
||||
135106,Mexican
|
||||
135105,Fast_Food
|
||||
135104,Mexican
|
||||
135103,Burgers
|
||||
135103,Dessert-Ice_Cream
|
||||
135103,Fast_Food
|
||||
135103,Hot_Dogs
|
||||
135102,Latin_American
|
||||
135102,Mexican
|
||||
135102,Steaks
|
||||
135101,Mexican
|
||||
135101,Steaks
|
||||
135100,Mexican
|
||||
135100,Steaks
|
||||
135099,Asian
|
||||
135099,Dessert-Ice_Cream
|
||||
135099,International
|
||||
135099,Mongolian
|
||||
135099,Steaks
|
||||
135099,Vegetarian
|
||||
135098,Brazilian
|
||||
135098,International
|
||||
135098,Latin_American
|
||||
135098,Steaks
|
||||
135097,Cafe-Coffee_Shop
|
||||
135097,Cafeteria
|
||||
135097,Contemporary
|
||||
135097,Deli-Sandwiches
|
||||
135097,Diner
|
||||
135097,Mexican
|
||||
135094,Mexican
|
||||
135093,Mexican
|
||||
135092,Cafeteria
|
||||
135092,Mexican
|
||||
135091,Japanese
|
||||
135091,Sushi
|
||||
135090,Mexican
|
||||
135089,Seafood
|
||||
135088,Cafeteria
|
||||
135086,Burgers
|
||||
135086,Fast_Food
|
||||
135085,Fast_Food
|
||||
135079,Chinese
|
||||
135075,Seafood
|
||||
135074,Contemporary
|
||||
135073,Bar
|
||||
135073,Bar_Pub_Brewery
|
||||
135072,Japanese
|
||||
135071,Bar
|
||||
135071,Bar_Pub_Brewery
|
||||
135069,Bar
|
||||
135061,Contemporary
|
||||
135060,Seafood
|
||||
135059,Bar
|
||||
135058,Pizzeria
|
||||
135057,Bar
|
||||
135056,Bar
|
||||
135055,Mexican
|
||||
135054,Seafood
|
||||
135053,Cafeteria
|
||||
135053,Fast_Food
|
||||
135053,Pizzeria
|
||||
135052,Bar
|
||||
135052,Bar_Pub_Brewery
|
||||
135049,Seafood
|
||||
135048,Bar
|
||||
135046,Fast_Food
|
||||
135044,Chinese
|
||||
135043,Fast_Food
|
||||
135043,Pizzeria
|
||||
135042,Chinese
|
||||
135041,Bar
|
||||
135041,Cafeteria
|
||||
135039,Seafood
|
||||
135037,Mexican
|
||||
135036,Bar
|
||||
135035,Italian
|
||||
135034,Japanese
|
||||
135032,Cafeteria
|
||||
135032,Contemporary
|
||||
135031,Seafood
|
||||
135030,Cafe-Coffee_Shop
|
||||
135030,Cafeteria
|
||||
135029,Bar
|
||||
135029,Bar_Pub_Brewery
|
||||
135028,Mexican
|
||||
135027,Mexican
|
||||
135026,Bar
|
||||
135026,Bar_Pub_Brewery
|
||||
135025,Mexican
|
||||
135022,Mexican
|
||||
135021,Fast_Food
|
||||
135020,Bar
|
||||
135020,Mexican
|
||||
135019,Bar
|
||||
135018,Mexican
|
||||
135008,Contemporary
|
||||
135007,Bar
|
||||
135007,Bar_Pub_Brewery
|
||||
135007,Mexican
|
||||
135005,Mexican
|
||||
135004,Bar
|
||||
135004,Bar_Pub_Brewery
|
||||
135003,Chinese
|
||||
135002,Mexican
|
||||
134999,Japanese
|
||||
134997,Bar
|
||||
134997,Cafe-Coffee_Shop
|
||||
134997,Cafeteria
|
||||
134990,Bar
|
||||
134990,Bar_Pub_Brewery
|
||||
134989,Mexican
|
||||
134988,Mediterranean
|
||||
134986,International
|
||||
134985,Mexican
|
||||
134984,Italian
|
||||
134983,Bar
|
||||
134983,Bar_Pub_Brewery
|
||||
134982,Bar
|
||||
134982,Bar_Pub_Brewery
|
||||
134981,Italian
|
||||
134980,Seafood
|
||||
134976,Mexican
|
||||
134976,Mediterranean
|
||||
134976,Burgers
|
||||
134973,Mexican
|
||||
134972,Cafe-Coffee_Shop
|
||||
134972,Cafeteria
|
||||
134971,Mexican
|
||||
133049,Latin_American
|
||||
133048,Mexican
|
||||
133047,American
|
||||
133043,International
|
||||
133039,Family
|
||||
133038,Cafeteria
|
||||
133037,Mexican
|
||||
133036,Family
|
||||
133035,Caribbean
|
||||
133034,Mexican
|
||||
133033,American
|
||||
133032,Mexican
|
||||
133031,Mexican
|
||||
133030,Family
|
||||
133029,Bar
|
||||
133028,Mexican
|
||||
133027,Cafeteria
|
||||
133026,Family
|
||||
133020,American
|
||||
133014,Contemporary
|
||||
133010,Italian
|
||||
133009,American
|
||||
133008,American
|
||||
133007,American
|
||||
133000,Family
|
||||
132996,Mexican
|
||||
132995,American
|
||||
132994,American
|
||||
132993,Mexican
|
||||
132992,American
|
||||
132986,Mexican
|
||||
132985,Mexican
|
||||
132980,Mexican
|
||||
132973,Mexican
|
||||
132972,Mexican
|
||||
132971,Mexican
|
||||
132970,American
|
||||
132969,Bar
|
||||
132968,Bar
|
||||
132967,Bar
|
||||
132966,Bar
|
||||
132965,Bar
|
||||
132964,Bar
|
||||
132963,Mexican
|
||||
132962,Burgers
|
||||
132962,Hot_Dogs
|
||||
132961,Mexican
|
||||
132960,Mexican
|
||||
132959,Mexican
|
||||
132958,American
|
||||
132957,American
|
||||
132956,African
|
||||
132955,Bar_Pub_Brewery
|
||||
132954,Breakfast-Brunch
|
||||
132953,Mexican
|
||||
132951,American
|
||||
132950,Mexican
|
||||
132948,Mexican
|
||||
132947,Mexican
|
||||
132946,Mexican
|
||||
132945,Mexican
|
||||
132943,Mexican
|
||||
132942,Mexican
|
||||
132941,Mexican
|
||||
132940,Burgers
|
||||
132939,Mexican
|
||||
132938,Mexican
|
||||
132937,Bar
|
||||
132936,Mexican
|
||||
132935,Mexican
|
||||
132934,Mexican
|
||||
132933,American
|
||||
132932,Mexican
|
||||
132930,Mexican
|
||||
132929,Mexican
|
||||
132928,Mexican
|
||||
132927,Mexican
|
||||
132926,Mexican
|
||||
132925,Mexican
|
||||
132924,Pizzeria
|
||||
132923,Family
|
||||
132922,Cafeteria
|
||||
132921,Bar
|
||||
132920,Mexican
|
||||
132919,Mexican
|
||||
132918,Mexican
|
||||
132917,American
|
||||
132917,Mexican
|
||||
132916,American
|
||||
132915,Mexican
|
||||
132914,Mexican
|
||||
132913,Mexican
|
||||
132912,Mexican
|
||||
132911,Mexican
|
||||
132910,Mexican
|
||||
132909,Mexican
|
||||
132908,Mexican
|
||||
132907,Mexican
|
||||
132906,Mexican
|
||||
132904,Mexican
|
||||
132903,Mexican
|
||||
132902,Mexican
|
||||
132901,Regional
|
||||
132900,Mexican
|
||||
132899,Mexican
|
||||
132897,Mexican
|
||||
132896,Mexican
|
||||
132895,Mexican
|
||||
132894,Mexican
|
||||
132893,Mexican
|
||||
132892,Chinese
|
||||
132891,Mexican
|
||||
132890,Mexican
|
||||
132889,Mexican
|
||||
132888,Afghan
|
||||
132887,Italian
|
||||
132886,American
|
||||
132885,Cafeteria
|
||||
132875,Japanese
|
||||
132873,American
|
||||
132872,American
|
||||
132871,Mexican
|
||||
132870,Burgers
|
||||
132869,Pizzeria
|
||||
132868,Mexican
|
||||
132867,Bar
|
||||
132867,Mexican
|
||||
132866,Bakery
|
||||
132866,Cafeteria
|
||||
132865,Mexican
|
||||
132864,Mexican
|
||||
132863,International
|
||||
132862,International
|
||||
132861,Burgers
|
||||
132860,International
|
||||
132859,International
|
||||
132858,Burgers
|
||||
132857,International
|
||||
132856,Italian
|
||||
132855,Mexican
|
||||
132854,International
|
||||
132853,Fast_Food
|
||||
132852,Latin_American
|
||||
132852,Mexican
|
||||
132851,American
|
||||
132851,Game
|
||||
132846,International
|
||||
132845,Mexican
|
||||
132843,Mexican
|
||||
132842,Mexican
|
||||
132841,Mexican
|
||||
132840,Mexican
|
||||
132839,Mexican
|
||||
132838,Mexican
|
||||
132837,Mexican
|
||||
132836,Mexican
|
||||
132835,Mexican
|
||||
132834,Mexican
|
||||
132833,Mexican
|
||||
132829,Mexican
|
||||
132828,Mexican
|
||||
132827,Mexican
|
||||
132825,Mexican
|
||||
132811,International
|
||||
132810,Vegetarian
|
||||
132807,Cafeteria
|
||||
132806,Mexican
|
||||
132805,Mexican
|
||||
132804,Bar
|
||||
132803,Chinese
|
||||
132802,Chinese
|
||||
132801,Mexican
|
||||
132799,Armenian
|
||||
132798,Mexican
|
||||
132797,Cafeteria
|
||||
132796,American
|
||||
132795,American
|
||||
132794,Vegetarian
|
||||
132793,Mexican
|
||||
132792,International
|
||||
132791,Mexican
|
||||
132790,International
|
||||
132789,Mexican
|
||||
132788,American
|
||||
132787,International
|
||||
132786,International
|
||||
132785,Mexican
|
||||
132784,Italian
|
||||
132783,International
|
||||
132782,Family
|
||||
132781,Mexican
|
||||
132779,Mexican
|
||||
132778,Mexican
|
||||
132777,Mexican
|
||||
132776,Mexican
|
||||
132775,Mexican
|
||||
132774,American
|
||||
132774,Bakery
|
||||
132774,Breakfast-Brunch
|
||||
132774,Burgers
|
||||
132774,Cafe-Coffee_Shop
|
||||
132774,Cafeteria
|
||||
132774,Diner
|
||||
132774,Family
|
||||
132774,Mexican
|
||||
132773,Family
|
||||
132773,Mexican
|
||||
132772,Mexican
|
||||
132771,Japanese
|
||||
132770,Spanish
|
||||
132769,Mexican
|
||||
132768,Family
|
||||
132767,Vietnamese
|
||||
132766,Japanese
|
||||
132765,Mexican
|
||||
132764,Mexican
|
||||
132763,Mexican
|
||||
132761,Mexican
|
||||
132760,Mexican
|
||||
132758,Mexican
|
||||
132757,Mexican
|
||||
132756,Italian
|
||||
132755,Mexican
|
||||
132754,Mexican
|
||||
132753,Mexican
|
||||
132752,Cafeteria
|
||||
132751,Burgers
|
||||
132750,Burgers
|
||||
132749,Mexican
|
||||
132748,Mexican
|
||||
132747,Chinese
|
||||
132746,Mexican
|
||||
132745,American
|
||||
132744,Mexican
|
||||
132743,Mexican
|
||||
132742,Mexican
|
||||
132741,Mexican
|
||||
132740,Mexican
|
||||
132739,Mexican
|
||||
132738,Hot_Dogs
|
||||
132737,Mexican
|
||||
132736,Korean
|
||||
132735,Mexican
|
||||
132734,Pizzeria
|
||||
132733,Pizzeria
|
||||
132732,Mexican
|
||||
132725,Fast_Food
|
||||
132724,American
|
||||
132723,Mexican
|
||||
132719,Hot_Dogs
|
||||
132718,Hot_Dogs
|
||||
132717,Fast_Food
|
||||
132715,Mexican
|
||||
132714,Mexican
|
||||
132713,American
|
||||
132712,Mexican
|
||||
132711,Mexican
|
||||
132710,Mexican
|
||||
132709,Mexican
|
||||
132708,Mexican
|
||||
132707,Mexican
|
||||
132706,Mexican
|
||||
132705,Mexican
|
||||
132704,Mexican
|
||||
132703,Mexican
|
||||
132702,Mexican
|
||||
132701,Mexican
|
||||
132700,Mexican
|
||||
132699,Mexican
|
||||
132698,Mexican
|
||||
132697,Mexican
|
||||
132696,Mexican
|
||||
132695,Mexican
|
||||
132694,Mexican
|
||||
132693,Bar
|
||||
132692,Mexican
|
||||
132691,Mexican
|
||||
132690,Mexican
|
||||
132689,American
|
||||
132688,Mexican
|
||||
132687,Japanese
|
||||
132686,Thai
|
||||
132685,Barbecue
|
||||
132684,American
|
||||
132683,American
|
||||
132682,American
|
||||
132681,Mexican
|
||||
132680,Mexican
|
||||
132679,American
|
||||
132678,Mexican
|
||||
132677,Mexican
|
||||
132676,Armenian
|
||||
132675,Mexican
|
||||
132674,American
|
||||
132673,Mexican
|
||||
132672,Mexican
|
||||
132671,Armenian
|
||||
132670,Mexican
|
||||
132669,Mexican
|
||||
132668,Mexican
|
||||
132667,Armenian
|
||||
132666,Mexican
|
||||
132665,Mexican
|
||||
132664,Mexican
|
||||
132663,Mexican
|
||||
132662,Mexican
|
||||
132658,American
|
||||
132657,Mexican
|
||||
132655,American
|
||||
132653,American
|
||||
132652,Mexican
|
||||
132650,American
|
||||
132649,Mexican
|
||||
132648,African
|
||||
132646,Mexican
|
||||
132645,American
|
||||
132643,Mexican
|
||||
132642,African
|
||||
132640,American
|
||||
132638,American
|
||||
132637,Mexican
|
||||
132636,American
|
||||
132635,American
|
||||
132634,Mexican
|
||||
132632,Mexican
|
||||
132631,Mexican
|
||||
132630,Mexican
|
||||
132629,Mexican
|
||||
132628,Italian
|
||||
132626,Italian
|
||||
132625,Mexican
|
||||
132624,Mexican
|
||||
132623,Mexican
|
||||
132622,Chinese
|
||||
132621,Mexican
|
||||
132620,Fast_Food
|
||||
132619,Mexican
|
||||
132618,Fast_Food
|
||||
132617,Mexican
|
||||
132615,Mexican
|
||||
132614,Mexican
|
||||
132613,Mexican
|
||||
132612,Pizzeria
|
||||
132611,Mexican
|
||||
132610,Mexican
|
||||
132609,Fast_Food
|
||||
132608,Mexican
|
||||
132607,Mexican
|
||||
132606,American
|
||||
132605,American
|
||||
132604,Cafeteria
|
||||
132603,Mexican
|
||||
132602,Mexican
|
||||
132601,Cafe-Coffee_Shop
|
||||
132600,American
|
||||
132599,Mexican
|
||||
132598,Mexican
|
||||
132596,Mexican
|
||||
132595,Mexican
|
||||
132594,Mexican
|
||||
132593,Mexican
|
||||
132592,Mexican
|
||||
132591,Mexican
|
||||
132590,Hot_Dogs
|
||||
132589,Cafeteria
|
||||
132588,Mexican
|
||||
132587,American
|
||||
132584,Mexican
|
||||
132583,American
|
||||
132582,Bakery
|
||||
132581,Dessert-Ice_Cream
|
||||
132580,Mexican
|
||||
132579,Fast_Food
|
||||
132578,Mexican
|
||||
132577,Fast_Food
|
||||
132576,Fast_Food
|
||||
132575,Diner
|
||||
132574,Pizzeria
|
||||
132573,Hot_Dogs
|
||||
132572,Cafeteria
|
||||
132560,Regional
|
||||
132557,Italian
|
||||
132555,International
|
||||
132555,Polish
|
||||
132555,Vegetarian
|
||||
132551,Dutch-Belgian
|
||||
132550,Italian
|
||||
132549,International
|
||||
132548,International
|
||||
132547,International
|
||||
132546,International
|
||||
132545,International
|
||||
132544,French
|
||||
132543,Dutch-Belgian
|
||||
132542,International
|
||||
132541,Steaks
|
||||
132540,Dutch-Belgian
|
||||
132539,Cafe-Coffee_Shop
|
||||
132538,International
|
||||
132537,Dutch-Belgian
|
||||
132536,Dutch-Belgian
|
||||
132535,International
|
||||
132533,French
|
||||
132532,Vegetarian
|
||||
132531,Barbecue
|
||||
132531,Dutch-Belgian
|
||||
132530,Cafe-Coffee_Shop
|
||||
132530,Dutch-Belgian
|
||||
132529,International
|
||||
132528,International
|
||||
132527,French
|
||||
132527,Dutch-Belgian
|
||||
132526,International
|
||||
132525,International
|
||||
132524,International
|
||||
132523,International
|
||||
132522,International
|
||||
132521,French
|
||||
132521,Dutch-Belgian
|
||||
132519,Japanese
|
||||
132518,Japanese
|
||||
132517,French
|
||||
132514,Dutch-Belgian
|
||||
132513,German
|
||||
132511,German
|
||||
132509,French
|
||||
132493,Seafood
|
||||
132493,Southwestern
|
||||
132493,Steaks
|
||||
132491,Bakery
|
||||
132491,Cafe-Coffee_Shop
|
||||
132488,Mexican
|
||||
132487,Southwestern
|
||||
132485,Cafe-Coffee_Shop
|
||||
132484,Italian
|
||||
132483,Armenian
|
||||
132483,German
|
||||
132483,Persian
|
||||
132482,German
|
||||
132481,German
|
||||
132479,German
|
||||
132478,German
|
||||
132477,Chinese
|
||||
132474,International
|
||||
132474,Regional
|
||||
132470,German
|
||||
132469,German
|
||||
132468,German
|
||||
132464,German
|
||||
132459,Dutch-Belgian
|
||||
132458,Ethiopian
|
||||
132457,Juice
|
||||
132456,Juice
|
||||
132455,Juice
|
||||
132454,Juice
|
||||
132453,Juice
|
||||
132452,Juice
|
||||
132451,Italian
|
||||
132450,Dutch-Belgian
|
||||
132449,Cafe-Coffee_Shop
|
||||
132449,Dutch-Belgian
|
||||
132448,Dutch-Belgian
|
||||
132447,International
|
||||
132446,French
|
||||
132445,Cafe-Coffee_Shop
|
||||
132444,Dutch-Belgian
|
||||
132443,French
|
||||
132443,International
|
||||
132442,French
|
||||
132442,International
|
||||
132441,Dutch-Belgian
|
||||
132440,Dutch-Belgian
|
||||
132439,French
|
||||
132439,Dutch-Belgian
|
||||
132438,Mediterranean
|
||||
132437,Mediterranean
|
||||
132436,International
|
||||
132435,Dutch-Belgian
|
||||
132434,Dutch-Belgian
|
||||
132433,Dutch-Belgian
|
||||
132432,Cafe-Coffee_Shop
|
||||
132430,Italian
|
||||
132429,Dutch-Belgian
|
||||
132425,Fast_Food
|
||||
132421,Italian
|
||||
132419,Italian
|
||||
132419,Mediterranean
|
||||
132417,Italian
|
||||
132417,Mediterranean
|
||||
132414,Asian
|
||||
132413,American
|
||||
132413,International
|
||||
132410,Bar_Pub_Brewery
|
||||
132409,Seafood
|
||||
132408,Dutch-Belgian
|
||||
132407,Mediterranean
|
||||
132406,Soup
|
||||
132402,French
|
||||
132399,Cafe-Coffee_Shop
|
||||
132398,Dutch-Belgian
|
||||
132396,International
|
||||
132393,Mexican
|
||||
132392,Contemporary
|
||||
132392,Continental-European
|
||||
132389,Greek
|
||||
132387,Greek
|
||||
132386,Greek
|
||||
132384,Greek
|
||||
132381,Pizzeria
|
||||
132380,Pizzeria
|
||||
132377,Greek
|
||||
132372,Greek
|
||||
132367,Greek
|
||||
132366,Greek
|
||||
132365,Greek
|
||||
132364,Greek
|
||||
132363,Greek
|
||||
132362,Greek
|
||||
132361,Greek
|
||||
132360,Greek
|
||||
132359,Greek
|
||||
132358,Greek
|
||||
132357,Greek
|
||||
132356,Greek
|
||||
132355,Greek
|
||||
132354,Greek
|
||||
132353,Greek
|
||||
132352,Greek
|
||||
132351,Greek
|
||||
132350,Greek
|
||||
132349,Greek
|
||||
132348,Greek
|
||||
132347,Greek
|
||||
132346,Greek
|
||||
132345,Greek
|
||||
132344,Greek
|
||||
132343,Greek
|
||||
132342,Italian
|
||||
132341,Japanese
|
||||
132341,Sushi
|
||||
132339,American
|
||||
132337,Cafe-Coffee_Shop
|
||||
132336,American
|
||||
132335,Bar_Pub_Brewery
|
||||
132333,Japanese
|
||||
132333,Sushi
|
||||
132332,International
|
||||
132331,International
|
||||
132330,International
|
||||
132329,Pizzeria
|
||||
132329,Deli-Sandwiches
|
||||
132328,Pizzeria
|
||||
132328,Deli-Sandwiches
|
||||
132326,Pizzeria
|
||||
132324,International
|
||||
132321,International
|
||||
132319,French
|
||||
132319,Dutch-Belgian
|
||||
132318,Mediterranean
|
||||
132318,Cafe-Coffee_Shop
|
||||
132317,French
|
||||
132317,Dutch-Belgian
|
||||
132316,Dutch-Belgian
|
||||
132315,Continental-European
|
||||
132312,Chinese
|
||||
132312,Vietnamese
|
||||
132310,Southwestern
|
||||
132306,Breakfast-Brunch
|
||||
132302,American
|
||||
132302,Polish
|
||||
132300,Pizzeria
|
||||
132299,Dutch-Belgian
|
||||
132298,International
|
||||
132297,French
|
||||
132296,Barbecue
|
||||
132296,French
|
||||
132296,Dutch-Belgian
|
||||
132295,Dutch-Belgian
|
||||
132294,Southern
|
||||
132292,Cafe-Coffee_Shop
|
||||
132289,Contemporary
|
||||
132289,French
|
||||
132284,Pizzeria
|
||||
132284,Italian
|
||||
132283,Cafe-Coffee_Shop
|
||||
132281,Bar_Pub_Brewery
|
||||
132280,American
|
||||
132275,Latin_American
|
||||
132274,Mexican
|
||||
132273,Spanish
|
||||
132273,Latin_American
|
||||
132272,Contemporary
|
||||
132271,Bar_Pub_Brewery
|
||||
132270,Bar_Pub_Brewery
|
||||
132269,Chinese
|
||||
132268,Chinese
|
||||
132266,Chinese
|
||||
132265,Asian
|
||||
132262,Chinese
|
||||
132258,Cafeteria
|
||||
132258,Polish
|
||||
132258,Seafood
|
||||
132257,Bar_Pub_Brewery
|
||||
132255,Game
|
||||
132255,Bar_Pub_Brewery
|
||||
132253,Cafeteria
|
||||
132253,Polish
|
||||
132253,Fast_Food
|
||||
132250,Eastern_European
|
||||
132249,International
|
||||
132247,Pizzeria
|
||||
132246,Italian
|
||||
132246,Mediterranean
|
||||
132245,German
|
||||
132244,French
|
||||
132244,German
|
||||
132244,Italian
|
||||
132243,French
|
||||
132243,Italian
|
||||
132242,Greek
|
||||
132240,American
|
||||
132240,Bar_Pub_Brewery
|
||||
132239,Burgers
|
||||
132238,Japanese
|
||||
132238,Sushi
|
||||
132237,Japanese
|
||||
132237,Seafood
|
||||
132237,Sushi
|
||||
132235,American
|
||||
132235,Burgers
|
||||
132234,Italian
|
||||
132233,Italian
|
||||
132232,Italian
|
||||
132231,Italian
|
||||
132230,Italian
|
||||
132229,Italian
|
||||
132228,California
|
||||
132228,Italian
|
||||
132226,American
|
||||
132226,Seafood
|
||||
132225,Chinese
|
||||
132223,Bakery
|
||||
132223,Cafe-Coffee_Shop
|
||||
132223,Deli-Sandwiches
|
||||
132221,American
|
||||
132220,French
|
||||
132218,Dutch-Belgian
|
||||
132217,Pizzeria
|
||||
132217,Italian
|
||||
132216,Pizzeria
|
||||
132216,Italian
|
||||
132215,Dutch-Belgian
|
||||
132214,American
|
||||
132214,Bar_Pub_Brewery
|
||||
132213,Cafe-Coffee_Shop
|
||||
132212,French
|
||||
132211,French
|
||||
132210,Chinese
|
||||
132209,Chinese
|
||||
132208,Dutch-Belgian
|
||||
132207,International
|
||||
132207,Italian
|
||||
132206,International
|
||||
132204,International
|
||||
132203,Dutch-Belgian
|
||||
132201,French
|
||||
132192,Dutch-Belgian
|
||||
132191,Polish
|
||||
132187,Cafe-Coffee_Shop
|
||||
132187,Bar_Pub_Brewery
|
||||
132186,Pizzeria
|
||||
132186,Italian
|
||||
132184,Italian
|
||||
132184,Mediterranean
|
||||
132182,Italian
|
||||
132182,Continental-European
|
||||
132180,Italian
|
||||
132177,Bagels
|
||||
132177,Cafe-Coffee_Shop
|
||||
132177,Deli-Sandwiches
|
||||
132175,Chinese
|
||||
132174,Chinese
|
||||
132171,Asian
|
||||
132171,Chinese
|
||||
132167,Bar_Pub_Brewery
|
||||
132166,French
|
||||
132166,International
|
||||
132166,Dutch-Belgian
|
||||
132165,International
|
||||
132164,International
|
||||
132163,Cafe-Coffee_Shop
|
||||
132162,International
|
||||
132161,French
|
||||
132161,International
|
||||
132160,Dutch-Belgian
|
||||
132159,French
|
||||
132157,Greek
|
||||
132156,Dutch-Belgian
|
||||
132155,French
|
||||
132155,Mediterranean
|
||||
132147,Pizzeria
|
||||
132147,Deli-Sandwiches
|
||||
132146,Deli-Sandwiches
|
||||
132145,Deli-Sandwiches
|
||||
132138,Bakery
|
||||
132137,Pizzeria
|
||||
132137,Deli-Sandwiches
|
||||
132136,Pizzeria
|
||||
132133,Japanese
|
||||
132132,Pizzeria
|
||||
132131,Italian
|
||||
132130,Turkish
|
||||
132128,Vegetarian
|
||||
132128,Fast_Food
|
||||
132127,Eastern_European
|
||||
132126,Family
|
||||
132126,Mexican
|
||||
132125,Family
|
||||
132125,Mexican
|
||||
132121,Italian
|
||||
132120,Asian
|
||||
132119,Vegetarian
|
||||
132118,Vegetarian
|
||||
132116,Asian
|
||||
132115,Asian
|
||||
132114,Cafe-Coffee_Shop
|
||||
132109,Vegetarian
|
||||
132109,Organic-Healthy
|
||||
132108,Japanese
|
||||
132108,Steaks
|
||||
132108,Sushi
|
||||
132107,Japanese
|
||||
132106,Vegetarian
|
||||
132105,French
|
||||
132103,Italian
|
||||
132102,Cafe-Coffee_Shop
|
||||
132101,American
|
||||
132101,Bar_Pub_Brewery
|
||||
132100,American
|
||||
132100,Bar_Pub_Brewery
|
||||
132098,Dutch-Belgian
|
||||
132097,Cafe-Coffee_Shop
|
||||
132096,Dutch-Belgian
|
||||
132094,Pizzeria
|
||||
132092,Family
|
||||
132087,Cafe-Coffee_Shop
|
||||
132083,International
|
||||
132031,Family
|
||||
132031,German
|
||||
132031,Fine_Dining
|
||||
132030,French
|
||||
132030,Dutch-Belgian
|
||||
132028,Italian
|
||||
132028,Seafood
|
||||
132026,Dutch-Belgian
|
||||
132025,Dutch-Belgian
|
||||
132024,Seafood
|
||||
132024,Continental-European
|
||||
132023,French
|
||||
132023,Dutch-Belgian
|
||||
132022,Dutch-Belgian
|
||||
132021,Dutch-Belgian
|
||||
132020,International
|
||||
132019,Dutch-Belgian
|
||||
132018,Dutch-Belgian
|
||||
132017,Dutch-Belgian
|
||||
132016,International
|
||||
132015,Dutch-Belgian
|
||||
132014,Dutch-Belgian
|
||||
132013,International
|
||||
132012,French
|
||||
132012,Dutch-Belgian
|
||||
132010,Mediterranean
|
||||
132010,Dutch-Belgian
|
||||
132009,International
|
||||
132008,International
|
||||
132007,Mediterranean
|
||||
132006,Dutch-Belgian
|
||||
132005,French
|
||||
132005,Seafood
|
||||
132004,Seafood
|
||||
132003,International
|
||||
132002,Seafood
|
||||
132001,Dutch-Belgian
|
|
178
4/payments.csv
Normal file
178
4/payments.csv
Normal file
@@ -0,0 +1,178 @@
|
||||
userID,Upayment
|
||||
U1001,cash
|
||||
U1002,cash
|
||||
U1003,cash
|
||||
U1004,cash
|
||||
U1004,bank_debit_cards
|
||||
U1005,cash
|
||||
U1006,cash
|
||||
U1007,cash
|
||||
U1008,cash
|
||||
U1009,cash
|
||||
U1010,cash
|
||||
U1011,cash
|
||||
U1012,cash
|
||||
U1012,bank_debit_cards
|
||||
U1013,MasterCard-Eurocard
|
||||
U1013,cash
|
||||
U1014,cash
|
||||
U1015,cash
|
||||
U1016,cash
|
||||
U1017,cash
|
||||
U1017,VISA
|
||||
U1018,cash
|
||||
U1019,cash
|
||||
U1020,cash
|
||||
U1020,bank_debit_cards
|
||||
U1021,cash
|
||||
U1022,cash
|
||||
U1023,cash
|
||||
U1026,cash
|
||||
U1026,bank_debit_cards
|
||||
U1027,cash
|
||||
U1028,cash
|
||||
U1029,cash
|
||||
U1030,cash
|
||||
U1031,cash
|
||||
U1031,American_Express
|
||||
U1032,cash
|
||||
U1033,cash
|
||||
U1034,cash
|
||||
U1035,cash
|
||||
U1035,VISA
|
||||
U1036,cash
|
||||
U1037,cash
|
||||
U1038,cash
|
||||
U1039,cash
|
||||
U1040,cash
|
||||
U1041,bank_debit_cards
|
||||
U1041,cash
|
||||
U1041,American_Express
|
||||
U1041,VISA
|
||||
U1042,bank_debit_cards
|
||||
U1043,cash
|
||||
U1044,VISA
|
||||
U1044,bank_debit_cards
|
||||
U1044,cash
|
||||
U1044,MasterCard-Eurocard
|
||||
U1045,cash
|
||||
U1046,cash
|
||||
U1047,cash
|
||||
U1048,cash
|
||||
U1049,cash
|
||||
U1050,cash
|
||||
U1051,VISA
|
||||
U1051,cash
|
||||
U1052,cash
|
||||
U1053,cash
|
||||
U1054,cash
|
||||
U1055,cash
|
||||
U1056,cash
|
||||
U1057,cash
|
||||
U1057,VISA
|
||||
U1058,cash
|
||||
U1059,cash
|
||||
U1060,cash
|
||||
U1061,cash
|
||||
U1061,bank_debit_cards
|
||||
U1062,VISA
|
||||
U1062,cash
|
||||
U1063,cash
|
||||
U1064,cash
|
||||
U1065,cash
|
||||
U1066,cash
|
||||
U1066,bank_debit_cards
|
||||
U1067,cash
|
||||
U1068,cash
|
||||
U1069,MasterCard-Eurocard
|
||||
U1069,cash
|
||||
U1070,cash
|
||||
U1071,cash
|
||||
U1072,bank_debit_cards
|
||||
U1072,cash
|
||||
U1073,cash
|
||||
U1074,bank_debit_cards
|
||||
U1074,cash
|
||||
U1075,cash
|
||||
U1076,VISA
|
||||
U1076,cash
|
||||
U1076,bank_debit_cards
|
||||
U1077,VISA
|
||||
U1077,cash
|
||||
U1077,bank_debit_cards
|
||||
U1078,VISA
|
||||
U1078,bank_debit_cards
|
||||
U1078,cash
|
||||
U1079,cash
|
||||
U1080,cash
|
||||
U1081,cash
|
||||
U1082,cash
|
||||
U1083,cash
|
||||
U1084,cash
|
||||
U1085,cash
|
||||
U1086,VISA
|
||||
U1086,bank_debit_cards
|
||||
U1086,cash
|
||||
U1087,cash
|
||||
U1089,cash
|
||||
U1090,cash
|
||||
U1091,cash
|
||||
U1092,cash
|
||||
U1093,American_Express
|
||||
U1093,VISA
|
||||
U1094,cash
|
||||
U1095,cash
|
||||
U1096,cash
|
||||
U1097,cash
|
||||
U1098,cash
|
||||
U1099,cash
|
||||
U1099,VISA
|
||||
U1100,cash
|
||||
U1101,cash
|
||||
U1102,cash
|
||||
U1103,cash
|
||||
U1103,bank_debit_cards
|
||||
U1104,VISA
|
||||
U1104,cash
|
||||
U1105,cash
|
||||
U1106,bank_debit_cards
|
||||
U1106,cash
|
||||
U1107,bank_debit_cards
|
||||
U1107,cash
|
||||
U1108,VISA
|
||||
U1108,cash
|
||||
U1108,MasterCard-Eurocard
|
||||
U1109,cash
|
||||
U1110,cash
|
||||
U1111,cash
|
||||
U1112,cash
|
||||
U1113,VISA
|
||||
U1113,cash
|
||||
U1114,cash
|
||||
U1115,cash
|
||||
U1116,cash
|
||||
U1116,bank_debit_cards
|
||||
U1116,VISA
|
||||
U1117,bank_debit_cards
|
||||
U1117,cash
|
||||
U1118,cash
|
||||
U1119,cash
|
||||
U1120,cash
|
||||
U1121,cash
|
||||
U1121,bank_debit_cards
|
||||
U1123,cash
|
||||
U1124,cash
|
||||
U1125,cash
|
||||
U1126,cash
|
||||
U1127,cash
|
||||
U1128,cash
|
||||
U1129,cash
|
||||
U1131,cash
|
||||
U1132,cash
|
||||
U1133,bank_debit_cards
|
||||
U1133,cash
|
||||
U1134,cash
|
||||
U1135,cash
|
||||
U1136,cash
|
||||
U1137,cash
|
||||
U1138,cash
|
|
1162
4/ratings.csv
Normal file
1162
4/ratings.csv
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user