title: Exception has occurred: AttributeError '_csv.reader' object has no attribute 'shape'
body: <p>I am getting the below error in Python3:
  Exception has occurred: AttributeError
  '_csv.reader' object has no attribute 'shape'</p>
  
  <pre><code>import requests
  
  from contextlib import closing
  
  import csv
  
  url = 'https://raw.githubusercontent.com/jbrownlee/Datasets/master/iris.csv'
  
  with closing(requests.get(url, stream=True)) as r:
  
      f = (line.decode('utf-8') for line in r.iter_lines())
      a = csv.reader(f, delimiter=',', quotechar='"')
      for row in a:
          print(row)
  
  print(a.shape)
  </code></pre>