title: Matplotlib: How to plot multiple lines on one plot
body: <p>I know there's many questions about this (e.g. <a href="https://stackoverflow.com/questions/54233996/matplotlib-multiple-lines-plot">here</a>), I just can't see what I'm doing wrong.</p>
  <p>I have this data:</p>
  <pre><code>Prod T1 T2
  A  0  4
  B  0  6.7
  C  0  8.8
  D  0  6.8
  E  0  6.75
  F  0  7.8
  G  0  33.5
  H  0  21
  </code></pre>
  <p>I want the plot to have 8 lines (A-H), each line showing growth from time period 1 (T1) to time period 2 (T2).</p>
  <p>I wrote this code:</p>
  <pre><code># libraries
  import matplotlib.pyplot as plt
  import numpy as np
  import pandas as pd
  
  # Data
  df=pd.DataFrame({'Product':['A','B','C', 'D','E','F','G','H'], 'Time Period 2': ['4','6.7','8.8','6.8','6.75','7.8','33.5','21.00']})
  
  # multiple line plot
  plt.plot('Product','Time Period 2',data=df,marker='o',color='orange',linewidth=2)
  plt.legend(loc='upper left')
  </code></pre>
  <p>The output is each product (A-H) on the x axis and the T2 numbers on the Y axis:</p>
  <p><a href="https://i.stack.imgur.com/PLpOu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PLpOu.png" alt="" /></a></p>
  <p>But what I want is for each product to have it's own growth line from T1 to T2 (e.g. like this example from the internet):</p>
  <p><a href="https://i.stack.imgur.com/5k6zV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5k6zV.png" alt="" /></a></p>
  <p>Can someone show me how to change this so the X axis just has two values 'time 1' and time 2', then there are multiple lines (A-H), showing growth from T1 to T2 (so e.g. for A, the T1 y value is 0 and the T2 y value is 4).</p>