I\'m trying to modify a csv that is uploaded into my flask application. I have the logic that works just fine when I don\'t upload it through flask.
import p
Answering my own question in case someone else needs this.
FileStorage objects have a .stream attribute which will be an io.BytesIO
f = request.files['data_file'] df = pandas.read_csv(f.stream)