I’m trying to import a CSV file as a Dataset object. All the entries in the CSV file are real numbers, except for the first row, which contains the variable names. Checking the documentation the function SemanticImport is supposed to do that, but I can’t get it to work. This is what I’m using:
The first row contains the variable names in the CSV file. I think the problem arises when there is more than 1 column in the CSV. If I run your example with RandomReal[1,{100,2}], it imports the first column only.
I see. I guess that does solve the issue. However, it seems to be pretty slow. My machine has been importing the file for the las 30 minutes, if I use Import it takes less than a minute. I guess I’ll have to play with that when I buy a faster machine. Thanks anyways.
Hey Marco, I saw you profile and it seems that you also work with data. I have used Mathematica since version 4 for symbolics and for simple data analysis using matrices but now I feel outdated with respect of these new objects that Mathematica has introduced in the newer versions. I wanted to ask you if you know of any tutorial on Mathematica data analysis using these new objects.