url = "http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data" the_names = ['sepal-length', 'sepal-width', 'petal-length', 'petal-width', 'class'] dataset = pandas.read_csv(url, names=the_names)Sure, the code above works with the standard Pandas "read_csv".
But, my issue is that I'm POSTing that csv data to a Flask service. The data comes in (as a variable) and I extract if from the Request dict, but I then can't seem to find a compatible method to load that data in a variable into the same pandas dataset.
I've tried read_clipboard, read_csv, read_table ... but they all error out.]
Do I need to do some kind of IO step?
Missing something easy, I'm sure, but did not see the answer online where eveyone seems to be reading the data from a disk file or from a URL directly.
Thanks in advance,