title: Python 3.4 reading from CSV formats
body: <p>OK So i have this code in Python that Im importing from a csv file the problem is that there are columns in that csv file that aren't basic numbers. There is one column that is text in the format "INT, EXT" and there is a column that is in o'clock format from "0:00 to 11:59" format. I have a third column as a normal number distance in "00.00" format.</p>
  
  <p>My question is how do I go about plotting distance vs o'clock and then basing whether one is INT or EXT changing the colors of the dots for the scatterplot. </p>
  
  <p>My first problem is having how to make the program read oclock format. and text formats from a csv.</p>
  
  <p>Any ideas or suggestions? Thanks in advance</p>
  
  <p>Here is a sample of the CSV im trying to import</p>
  
  <pre><code>ML  INT  .10  534.15  0:00
  ML  EXT  .25  654.23  3:00
  ML  INT  .35  743.12  6:30
  </code></pre>
  
  <p>I want to plot the 4th column as the x axis and the 5th column as the y axis
  I also want to color code the scatter plot dots red or blue depending if one is INT or EXT</p>
  
  <p>Here is a sample of the code i have so far</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from matplotlib import style
  import numpy as np
  
  style.use('ggplot')
  
  a,b,c,d = np.loadtxt('numbers.csv',
                  unpack = True,
                  delimiter = ',')
  
  
  
  plt.scatter(a,b)
  
  
  
  
  plt.title('Charts')
  plt.ylabel('Y Axis')
  plt.xlabel('X Axis')
  
  plt.show()
  </code></pre>