import re bods = conn.get_table('boardex','na_wrds_company_names', columns=['boardid', 'boardname','ticker']) acn_ser = bods['boardname'].str.contains('accenture', regex=True) count = 0 for i in acn_ser: if i is True: count += 1 print(count)
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