title: Python pandas: Finding cosine similarity of two columns
body: <p>Suppose I have two columns in a python pandas.DataFrame:</p>
  
  <pre><code>          col1 col2
  item_1    158  173
  item_2     25  191
  item_3    180   33
  item_4    152  165
  item_5     96  108
  </code></pre>
  
  <p>What's the best way to take the cosine similarity of these two columns? </p>