I observed that when exporting a List, no matter if I put "List" or "cvs" the result is always the same: after importing, the data appears with quotations:
cont1 = {{2, 3}, {3, 4}, {5, 6}};
cont2 = {{7, 8}, {9, 10}, {11, 12}};
tosave = {cont1, cont2};
Export["ContTest.lst", tosave, "List"];
Export["ContTest.csv", tosave, "csv"];
asDat = Import["ContTest.lst", "List"]
asCsv = Import["ContTest.csv", "csv"]
Out[540]= {"{{2, 3}, {3, 4}, {5, 6}}", "{{7, 8}, {9, 10}, {11, 12}}"}
Out[541]= {{"{2, 3}", "{3, 4}", "{5, 6}"}, {"{7, 8}", "{9, 10}", "{11, 12}"}}
The solution I found is to export in ".cvs" format and transform with ToExpression:
merd = ToExpression@Import["ContTest.csv", "csv"]
Out[520]= {{{2, 3}, {3, 4}, {5, 6}}, {{7, 8}, {9, 10}, {11, 12}}}
How to avoid the quotations when using "List"? Or better, why the list is imported with quotations?
"List"
as you claim, why do you import as"CSV"
? Also, it would help to see the problematic data, since, as @HimalaySenapati already pointed out, the example provided works as expected $\endgroup$ – Lukas Lang May 11 '18 at 15:05