Re: Copy and Pasting Tables into Spreadsheet
- To: mathgroup at smc.vnet.net
- Subject: [mg83364] Re: Copy and Pasting Tables into Spreadsheet
- From: Gregory Lypny <gregory.lypny at videotron.ca>
- Date: Sun, 18 Nov 2007 04:51:43 -0500 (EST)
- References: <fhmhnt$arb$1@smc.vnet.net> <473ED534.9080405@gmail.com>
Thank you Szabolcs, I think that's what frustrates me because I figure that, although I know that dimensions matter as I continue working with a data structure within Mathematica, when something displays as two- dimensional using TableForm then I should be able cut and paste it as such for other purposes, such as creating tables in another application. Regards, Gregory On Sat, Nov 17, 2007, at 6:49 AM, Szabolcs Horv=E1t wrote: > Gregory Lypny wrote: > > Likewise, exporting a >> numeric table to a text file as "CSV" or "TSV" often gives me the >> table as a string with the curly list brackets as delimiters >> rather than commas or tabs (see below). > > Make sure that the data structure is two-dimensional before > exporting it to CSV/TSV. > > {{1,2,3},{a,b,c}} works, but > {{{1,2,3}},{{a,b,c}}} does not. > > -- > Szabolcs