Downloading Table from GraphLab Canvas

User 765 | 12/6/2014, 6:58:41 PM

When I try to save the output in csv fromat, the output is not formatted correctly. The data values are misaligned with columns. GraphLab Canvas is having values displayed in nice formatted way. Is there a way to download the GraphLab Canvas table as csv file?

Comments

User 4 | 12/7/2014, 5:20:13 PM

Hi Vinoth, it sounds like the CSV output might be getting generated incorrectly for the data in your SFrame. Can you provide a sample of data that exhibits this issue and we will investigate?

In the meantime, you could try converting to a Pandas DataFrame, then writing out to CSV (this will use Pandas' CSV writer instead of SFrame). Assuming you have Pandas installed, try:

<pre><code> df = sf.todataframe() df.tocsv('file.csv') </code></pre>

See http://pandas.pydata.org/pandas-docs/version/0.15.1/generated/pandas.DataFrame.to_csv.html