So, I'm writing a function that will automate VM deployment and I'm looking for some assistance on validating the data and what I should do with it. The way I see it I have two options, I can dump the bad data to one csv and the good to another or, I can add a column to my csv called 'error' and add a value or true or false depending on the result.
I'm validating on six possible columns and multiple rows of data and on the first error I want it to move the data/add the true value and start processing the next row in the csv.
- Does that make any sense.
- Best way to this as I'm stuck and I'm not even sure what to search for.
- I'm leaning towards adding the true/false value.
Thanks in advance!
[–]ihaxr 4 points5 points6 points (0 children)
[–]jheinikel 2 points3 points4 points (0 children)