title: How to generate Word2vec Vectors in Python?
body: <p>I am trying to generate Word2vec vectors.</p>
  
  <p>I have pandas data frame.</p>
  
  <p>I transformed it into tokens.</p>
  
  <p><code>df["token"]</code></p>
  
  <p>Used Word2vec from gensim.models</p>
  
  <pre><code>model = w2v.Word2Vec(
  sentences=df["token"],
  seed=seed,
  workers=num_workers,
  size=num_features,
  min_count=min_word_count,
  window=context_size,
  sample=downsampling
  )
  </code></pre>
  
  <p>How do I transform my dataframe df now?</p>
  
  <p>That is what is the equivalent of doing </p>
  
  <pre><code>model.transform(df)
  </code></pre>