>>> with open('Book2.csv', 'rb') as f:
inpreader = csv.reader(f, delimiter=',')
for row in inpreader:
print ','.join(row)
IdNo, skillsList
BAXA0000206_NEENA_TIWARI_0.htm,[u'Training', u'E-Learning', u'PowerPoint', u'Teaching', u'Accounting', u'Team Management', u'Team Building', u'Microsoft Excel', u'Microsoft Office', u'Financial Accounting', u'Microsoft Word', u'Customer Service']
BAXA0000227_ABDUR_RAZZAQUE_0.htm,[u'Telecommunications', u'Data Center', u'ISO 27001', u'Management', u'BS25999', u'Technology', u'Information Technology...', u'Certified PMP\xae', u'Certified BS25999 Lead...']
BAXA0000261_Priya _ Lobo_0.htm,[u'Market Research', u'Segmentation', u'Marketing Strategy', u'Consumer Behavior', u'Experience Working with...']
我想找出skillsList每个技能的词频..我该怎么办呢?通过列表中的项目分组
感谢
哪里频率字段? –
skillsList。我想要每个技能的术语频率。例如,培训:45,电子学习:50 – user1946217
CSV文件的外观如何? (我想你现在正在显示你的代码的输出,而不是输入) –