I have a .csv file in my localdisk. I want to read this file when I run my flask application. These are the codes which I tried to read the file.
@app.route('/file', methods=['GET'])
def upload():
    file = pd.read_csv(request.files.get('E:\code\flask\winequality-red.csv'))
    print(file)
    return jsonify(file)