Condition for selecting rows

sorry but im new to psychopy, i would like to ask how to set a condition for choosing rows.
i have column containing words, and another column specifying if a word is real or a pseudo-word.
i want to preview to the participant the “real” words only. so looping among words with specific condition.

You can specify certain rows in the loop. If your words are the first 40 try 0:40