title: Importing Images based on a list of paths
body: <p>So I am trying to import some images.  All the images have their respective file paths in the first column of a .csv file. Below is the approach I have taken so far.  The idea is make a list of the paths then use opencv to "imread" the images to a list "cv_img"</p>
  
  <p>The problem at hand is only 1 image gets added to the list cv_img.  Any idea why this is happening?  </p>
  
  <p>Is this the best approach? </p>
  
  <pre><code>#Import Labels
  import pandas as pd
  df = pd.read_csv('File path.csv',usecols=[3])
  labels=df
  
  #Import features
  #Problem area
  cv_img = []
  list1=pd.read_csv('File path.csv',usecols=[0])
  for img in list1:
      n= cv2.imread(img)
      cv_img.append(n)
  
  X_train=cv_img
  y_train=labels
  print(len(X_train)) #prints 1
  print(len(y_train)) #prints 1136
  </code></pre>