Init.
This commit is contained in:
commit
398bd8160f
6
app.py
Normal file
6
app.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from flask import Flask
|
||||
from flask_restful import Resource, Api, reqparse
|
||||
import pandas as pd
|
||||
import ast
|
||||
app = Flask(__name__)
|
||||
api = Api(app)
|
8
locations.csv
Normal file
8
locations.csv
Normal file
|
@ -0,0 +1,8 @@
|
|||
locationId,name,rating
|
||||
1,Café de Flore,4.0
|
||||
2,Café Tabac,4.6
|
||||
3,Rosslyn Coffee,4.8
|
||||
4,Three Wheels Coffee,4.6
|
||||
5,Roasting Plant Coffee,4.4
|
||||
6,Distrikt coffee,4.4
|
||||
7,Westberlin,4.4
|
|
5
users.csv
Normal file
5
users.csv
Normal file
|
@ -0,0 +1,5 @@
|
|||
userId,name,city,locations
|
||||
a1b,Joe,Paris,"['0001', '0002', '0008']"
|
||||
a2c,Jenny,London,"['0003', '0004']"
|
||||
b1b,Jack,London,"['0003', '0005']"
|
||||
b2c,Jill,Berlin,"['0006', '0007']"
|
|
Loading…
Reference in New Issue
Block a user