I have a function that analyzes a CSV file with Pandas and produces a dict with summary information. I want to return the results as a response from a Flask view. How do I r
from flask import jsonify app = Flask(__name__) @app.route('/summary') def summary(): d = make_summary() return jsonify(d)