title: How do I read in a csv file to sckkit-learn tree
body: <p>I am somewhat familiar with <code>R</code> and straight <code>python</code> but not <code>scikit-learn</code> or <code>numpy</code>.</p>
  
  <p>I found the following code for the iris data set included in <code>scikit-learn</code> at <a href="http://scikit-learn.org/stable/modules/tree.html#tree" rel="nofollow">http://scikit-learn.org/stable/modules/tree.html#tree</a></p>
  
  <pre><code>from sklearn.datasets import load_iris
  from sklearn import tree
  iris = load_iris()
  clf = tree.DecisionTreeClassifier()
  clf = clf.fit(iris.data, iris.target)
  </code></pre>
  
  <p>Rather than use iris that is part of <code>scikit-learn</code>, I want to load a csv file that is in the form:</p>
  
  <pre><code>A,B,C,D
  5.1,3.5,1.4,0.2
  4.9,3.0,1.4,0.2
  4.7,3.2,1.3,0.2
  4.6,3.1,1.5,0.2
  .........
  </code></pre>
  
  <p>How do I load it, get it into <code>clf.fit(?,?)</code> and what do I need to use in place of <code>iris.target</code>?</p>