#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/
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter