Tag Info

New answers tagged


As @Mr.Wizard notes in a comment, some discussion about the overheads associated with querying can be found in another question (56609). This response will use Mathematica version 10.1.0 to examine the specific behaviour described in the present question. The general principles under discussion are the same for the various 10.0.x versions, but some details ...


Example file: FilePrint["test.dat"] Import as all strings breaking each line into lists, assuming space delimited: stringform = StringSplit /@ StringSplit[ Import["test.dat", "Text"] , "\n"]; Here is an example operating on the second column of the result and writing it back out: Export["out.dat", StringJoin@Riffle[ ...

Top 50 recent answers are included