title: How to apply word2vec to dataframe column
body: <p>I have to apply word2vec on one of the feature of my dataframe and re-add this processed feature to my original dataset.</p>
  <pre><code>df[col] :
  1                                 index.html
  2                                 index.html
  3                                 index.html
  4         deliver?section=Delivery%10Details
  5                                   shipment
                           ...                
  204226                   home?section=To
  204227                   home?section=To
  </code></pre>
  <p>I have tokenized the column using below command</p>
  <pre><code>from nltk.tokenize import word_tokenize
  df['col_token'] = df['col'].apply(word_tokenize)
  
  df['col_token']:
  1                                    [index.html]
  2                                    [index.html]
  3                                    [index.html]
  4    [delivery, ?, section=Delivery, %, 20Details]
  5                                      [shipment]
  Name: col_token, dtype: object
  </code></pre>
  <p>and then I am appling word2vec model on the same using below code however, I get an error : <code>TypeError: unhashable type: 'list'</code></p>
  <pre><code>model_word2vec = gensim.models.Word2Vec(
  seed=123,
  min_count=1,
  window=2,
  workers=4)
  
  df['new_col'] = model_word2vec.wv[df['col_token']]
  </code></pre>
  <p>Any suggestions would be helpful.</p>