Thanks, this is what I was looking for!
On Monday, March 21, 2016 at 4:39:46 PM UTC+1, Jacob Quinn wrote: > > You should be able to wrap the string in an IOBuffer, which satisfies the > general IO interface. > > e.g. > > io = IOBuffer(csv) > readtable(io) > > -Jacob > > On Mon, Mar 21, 2016 at 9:28 AM, jw3126 <[email protected] <javascript:>> > wrote: > >> I have a string which is secretly a csv like >> """ >> 1, 7.6 >> 2, 45.6 >> 3, 12.1 >> ... >> """ >> >> I want to turn it into a data frame. I guess I have to use readtable >> <http://dataframesjl.readthedocs.org/en/latest/io.html#importing-data-from-tabular-data-files>, >> >> however readtable accepts only IOStreams (or strings that are filepaths) >> and I don't know how to feed the string in a sane way to it. >> > >
