Use Python in retool loops

Hello @Rashmika_Lakshan!

Unfortunately python is not supported for the 'loop' block component, but you can grab table.data and pass it into a 'python block' where you can loop over the data.

You can then chose how to handle the conditional logic, either nest in inside the python block or pass the data from the loop to a branch block.

1 Like