from flask import Flask import pandas as pd app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' @app.route('/iris') def iris(): df = pd.read_csv('iris.csv') return df.to_html() # This is how you can make your webpage take parameters # If you go to: URL/iris/sepal_width # the col parameter below will be 'sepal_width @app.route("/iris/