title: Applying a function on a pandas dataframe column using map
body: <p>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.</p>
  
  <pre><code>df['newtext'] = map(lambda x: x.decode('latin-1').encode('ascii','ignore'),df['comment'])
  </code></pre>
  
  <p>This creates a new column(newtext) but instead of getting clean text I am getting this message </p>
  
  <p>map object at 0x000001C1B9CE07F0</p>
  
  <p>I am using python 3. Please help. Thank you</p>