title: plot line between points pandas
body: <p>I would like to plot lines between two points and my points are defined in different columns.</p>
  
  <pre><code>#coordinates of the points
  #point1(A[0],B[0])
  #point2(C[0],D[0])
  #line between point1 and point 2
  
  #next line would be
  #point3(A[1],B[1])
  #point4(C[1],D[1])    
  #line between point3 and point 4
  
  plot_result:
     A  B  C  D  E  F
  0  0  4  7  1  5  1
  1  2  5  8  3  3  1
  2  3  4  9  5  6  1
  3  4  5  4  7  9  4
  4  6  5  2  1  2  7
  5  1  4  3  0  4  7
  </code></pre>
  
  <p>i tried with this code:</p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  for i in range(0, len(plot_result.A), 1):
      plt.plot(plot_result.A[i]:plot_result.B[i], plot_result.C[i]:plot_result.D[i], 'ro-')
  
  plt.show()
  </code></pre>
  
  <p>but it is a invalid syntax. I have no idea how to implement this</p>