I am new to python, this code is meant to print out the top 100 frequent words in file MusicTaste.csv and print it in a table. I've solved past syntax error, but have never seen this error before.
Please see code below
import re
from collections import Counter
from prettytable import PrettyTable
words = re.findall('\w+',open('MusicTaste2.csv').read().lower())
for label, data in ('Word', words) THE_ERROR_APPEARS_HERE_BLANK_SPACE
pt = PrettyTable(field_names=[label, 'Count'])
c = Counter(words)
[ pt.add_row(kv) for kv in c.most_common()[:100]
print pt
for a in b: