0 votes
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.

by
1,055 questions
1,093 answers
1,203 comments
9,138 users

┬ęDataiku 2012-2018 - Privacy Policy