I have some sample data (probably from a database, originally), transmitted to me in Excel. Every field in the spread sheet has Excel type "text".
Import converts everything to type String in Mathematica. Applying ToExpression to the values with Head String does the right thing - converting to Head Integer, Real, or String - EXCEPT for one case.
In:= tripleStore2[[8, 3]]
I'm assuming Mathematica sees "E" as the base of natural logarithms ... ?
Before I try to write the appropriate micro-parser, is there a Mathematica function I can use? Or is there code somewhere that does what I need?
Thank you, -- Mark
Perfect. I really appreciate your quick response.
Either I failed or the documentation hypertext failed. I didn't find the nicely related example in the documentation for Interpreter.
If you look online, you'll find many different solutions to this.
In version 10, I would suggest using:
SemanticImport might be able to do this all for you instead of Import. It works okay for simple files, but might need some guidance on the kind of output you're expecting it.