title: cosine similarity for multiple column values
body: <pre><code>id  size    numberOfPlants  balcony   available  publicTransport    
  0   1191    3               0         1           1
  1   3251    2               1         0           0
  2   1641    1               1         1           0
  3   2133    3               0         0           1
  </code></pre>
  <p>I have a dataset with multiple column values where each row represents one object. I want to calculate cosine similarity between all rows such that I consider all factors, size, numberOfPlants, balcony (boolean), available (boolean), and publicTransport (boolean) with an equal weightage. If I enter a <code>id</code>, I want to get back an <code>id</code> of the row which seems the most similar. How can I calculate cosine similarity here?</p>