I am doing sentiment analysis for the first time. I am analyzing yelp reviews. I have converted the reviews into a list before writing them into a csv file. I am having some coding issues with these reviews so I am running this code.
df['newtext'] = map(lambda x: x.decode('latin-1').encode('ascii','ignore'),df['comment'])
This creates a new column(newtext) but instead of getting clean text I am getting this message
map object at 0x000001C1B9CE07F0
I am using python 3. Please help. Thank you