Hey all,
I’m trying to delete rows from a data table depending on what .csv file I imported and i’m having trouble creating a loop which reads each row as a conditional statement.
As you can see I’m trying to compare each value in the last column (“ID”) to 3 and remove the entire row if it does not equal 3. I can get it to work if I call out individual cells in the table but since the .csv files can vary in length I need something more like a loop. The .csv upload piece of the code works perfectly but i’m not exactly sure what I need to do to create that conditional loop the .getValueAt command is not working.