0 votes
asked by

1 Answer

0 votes

If there is non-numerical character in the data, it's being stored as a string, whereas only integers (or floating point numbers) can be summed. 

To sum the data, you will need to:

  1. Create a preparation script
  2. Find and remove (i.e. replace with nothing) the dollar signs. Depending on exactly what is in the data, the "Extract number" processor may save a few clicks.
  3. Change the "Store as" to "Integer" by clicking on the column header.

Of course, the final output will no longer have dollar signs, but you can indicate the unit in the column header.

answered by
945 questions
977 answers
986 comments
2,099 users

┬ęDataiku 2012-2018 - Privacy Policy