03-15-2017 11:06 AM
How can we delete the empty rows from a 2d array...?
Solved! Go to Solution.
03-15-2017 11:29 AM - edited 03-15-2017 11:31 AM
First you need to define what an empty row is (e.g. a row with all zeroes is not empty, a row where all elements are NaN is not empty, a row where all elements are empty strings is not empty, etc.).
Once you have decided, do a forum search, there are plenty of examples how to delete rows that match a certain pattern.
(If the arrays are not gigantic, easiest would be a FOR loop with an autoindexing input tunnel and a conditionally indexing output tunnel)