Group Abstract Group Abstract

Message Boards Message Boards

Manage large data quantity?

Posted 5 years ago

I have a very large quantity of information in a CVS file. I imported the data correctly but now I need to use FromDigits... and everytime that that I try the function, the Mathematica collapses and closes... any suggestions?

POSTED BY: Eddy Rey
6 Replies

I don't see any problem with plotting or loading this data. Indeed the first line is a string instead of a number and many numbers of which you want to take the Log are 0 but in general mathematica doesn't realy care about that at all.

In[88]:= alist = Import["CO2_IR_50.csv", "Data"];

In[102]:= cross = alist[[All, 2]];

logC = Log[cross];

logC[[1 ;; 10]]

Out[104]= {Log[
  "cross_section"], Indeterminate, Indeterminate, Indeterminate, \
Indeterminate, Indeterminate, Indeterminate, Indeterminate, \
Indeterminate, Indeterminate}

Even plotting work ok, it just ignores values it cannot plot.

ListPlot[data]
ListPlot[Transpose[{alist[[All, 1]], logC}]]

enter image description here

PS use a semicolon at the end of your lines to prevent mathematica printing everything to the notebook when it is not needed.

POSTED BY: Martijn Froeling
Posted 5 years ago
POSTED BY: Rohit Namjoshi
Anonymous User
Anonymous User
Posted 5 years ago
POSTED BY: Anonymous User

Please provide a short example of relevant input and desired output. As indicated in a different response, it is not obvious what exactly is desired here.

POSTED BY: Daniel Lichtblau
Posted 5 years ago

Mathematica 12.0.

The goal is to convert the data in a integer...

POSTED BY: Eddy Rey
Posted 5 years ago

What version of Mathematica are you using? What is the goal of the FromDigits? It's very unclear from the notebook. Can you take a smaller piece of your data and show what outputs you are expecting from that data?

POSTED BY: Sean Cheren
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard