title: CSV iterate/loop
body: <p>I am trying to iterate through all the cells of a CSV row ( name, screen_name and image url). Different errors show up, I tried with pandas but still I am unable to finish the job. My CSV looks like this:</p>
  
  <pre><code>screen_name,name,image_url_https
  Jan,Jan,https://twimg.com/sticky/default_profile_images/default_profile_normal.png
  greg,Gregory Kara,https://twimg.com/profile_images/60709109/Ferran_Adria_normal.jpg
  hillheadshow,Hillhead 2020,https://twimg.com/profile_images/1192061150915178496/cF6jOCRV_normal.jpg
  hectaresbe,Hectaresbe,https://twimg.com/profile_images/1190957150996226048/lJnRnFwi_normal.jpg
  Sdzz,Sanne,https://twimg.com/profile_images/1159005129879801856/8p6KC1ei_normal.jpg
  </code></pre>
  
  <p>and the part of the code that I need to change is:</p>
  
  <pre><code>import json
  import time,os
  import pandas as pd
  
  screen_name = 'mylist'
  
  file = pd.read_csv("news2.csv", header=0)
  
  col = file.head(0)
  
  columns = list(col)
  
  fp=codecs.open(screen_name+'.csv','w',encoding="utf-8")
  i=0
  while True:
      try:
          i+=1
          print (i)
          name=['name']
          uname=['screen_name']
          urlimage=['image_url_https']
  </code></pre>
  
  <p>The values are ok with @Snake_py code, next i am doing a request:</p>
  
  <pre><code>myrequest='https://requesturl.com/'+uname
  #print(myrequest)
  resp=requests.get(myrequest)
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>raise InvalidSchema("No connection adapters were found for '%s'" % url)requests.exceptions.InvalidSchema: No connection adapters were found for '0    https://requesturl.com/Jan
  </code></pre>
  
  <p>Name: name, dtype: object'</p>
  
  <p>timeout error caught.</p>