title: Calculating euclidean distance from a dataframe with several column features
body: <p>I have a dataframe like below and I need to calculate the euclidean distance.</p>
  <pre><code>a,b,c,d,e
  10,11,13,14,9
  11,12,14,15,10
  12,13,15,16,11
  13,14,16,17,12
  14,15,17,18,13
  15,16,18,19,14
  16,17,19,20,15
  17,18,20,21,16
  18,19,21,22,17
  19,20,22,23,18
  20,21,23,24,19
  21,22,24,25,20
  22,23,25,26,21
  23,24,26,27,22
  24,25,27,28,23
  </code></pre>
  <p>I guess with only 2 column features say <strong>a</strong> and <strong>b</strong>, I can easily do:</p>
  <pre><code>def euclidean_distance(a, b):
      return np.sqrt(np.sum((a - b)**2))
  </code></pre>
  <p>How can I calculate the euclidean distance of a dataframe with several column features like <strong>a</strong>, <strong>b</strong>, <strong>c</strong>, <strong>d</strong>, <strong>e</strong> above?</p>