Ver. hangs up when I do "Import" a csv file that contain an entry ""000000000000000000000000000000000000000053253943D755066515000057", while this csv file can be read by EXCEL and Mathematical allows Import of the resulting xlsx file. What can I do, other than reporting this to the Mathematica support?

  • $\begingroup$ The question looks unclear. Can you add a code sample that reproduce the issue? Anyway, I guess I might have understood your question. Do you mean the following code sample hangs?: Export["test.csv", "000000000000000000000000000000000000000053253943D755066515000057"]; Import["test.csv"] $\endgroup$ – xzczd Jun 28 at 13:19
  • 2
    $\begingroup$ You could also change the D to a an X. OI think Import tries to be smart and thinks that D as a Fortran version of E ... , i.e., ImportString["1D7", "CSV"] gives 10^7. I wished Import would be better documented and less "smart". $\endgroup$ – Rolf Mertig Jun 28 at 18:31
  • 5
    $\begingroup$ Does this answer your question? Importing a string such as "3d456" from a CSV file causes trouble $\endgroup$ – GenericAccountName Jun 30 at 1:45

This imports all entries as a string

Import["test.csv", {"CSV", "RawData"}]
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.