| Author |
Comment/Response |
molly
|
09/18/07 1:55pm
I'm trying to import data from a table in a text file (entries separated by several spaces), and it works fine to use Import["file","Table"] when all the columns have an entry, but this doesn't work when there are blank entries in the original table. The final row that is imported simply has too few entries, and I have no way of knowing which column was empty for that row. Is there some way importing the table that preserves the information about these spaces that are left blank in the original table?
For example, I want to import: "a b c/x z" as {{{a},{b},{c}},{{x},{},{z}}} instead of {{a,b,c},{x,z}}.
Thanks,
Molly
URL: , |
|