I appreciate the link as I actually found that yesterday and it has been a great help. My only now is I've completed the work. I'm getting back some errors. If anyone has any reason why please let me know. I can add more context if needed.
1. I am tasked to split a column labeled "animals" into multiple columns without removing the original
column. I did so by adding the "/" as the seperator, but I'm getting a message saying "original column for "animal" was removed". I see there were 7 more columns formed, but I still have the original one, but I'm not sure what is the issue.
2. I am tasked to
Replace the null values in the "food" column with the text “Unknown” (Edit Cells -
> Transform). So I used the formula if(value==null,"Unknown",value), but I get an error saying "All blank rows were not replaced with Unknown.
You could also have an incorrect amount of Unkown values
or incorrect number of rows in your .csv" I thought that was the correct formula.
3. The last task I'm asked to
Create a new column "new price" with the values 0 or 1 based on the
item_description column with the following conditions: If it contains the text “deal” or “offer”
or “spend”, then set the value in "new price" as 1, else 0. Provide the GREL expression used to
perform this. Convert the text to lowercase before you search for the terms. So i converted the text tolowercase and the formula I ran was:
If(or(value.contains('deal'),value.contains('offer'),value.contains('spend')),1,0). I thought that was correct but I keep getting the error:
New Price column values were not created after converting csv values to lowercase.
I have gotten some credit for my work, but I'm trying to see why these three are still showing an error. Any ideas are appreciative.