#loc for a label

txns1.loc[txns1.category == 'CUBA-portal']

#iloc for an index


https://www.shanelynn.ie/pandas-iloc-loc-select-rows-and-columns-dataframe/