title: displaying grid of images in jupyter notebook
body: <p>I have a dataframe with a column containing 495 rows of URLs. I want to display these URLs in jupyter notebook as a grid of images. The first row of the dataframe is shown here. Any help is appreciated. </p>
  
  <pre><code>id           latitude     longitude     owner             title                          url
  23969985288 37.721238   -123.071023 7679729@N07 There she blows!    https://farm5.staticflickr.com/4491/2396998528...
  </code></pre>
  
  <p>I have tried the following way, </p>
  
  <pre><code>from IPython.core.display import display, HTML
  for index, row in data1.iterrows():
    display(HTML("&lt;img src='%s'&gt;"%(i["url"])))
  </code></pre>
  
  <p>However, running of above code displays message </p>
  
  <pre><code>&gt; TypeError                         Traceback (most recent call last)
  &lt;ipython-input-117-4c2081563c17&gt; in &lt;module&gt;()
        1 from IPython.core.display import display, HTML
        2 for index, row in data1.iterrows():
  ----&gt; 3   display(HTML("&lt;img src='%s'&gt;"%(i["url"])))
  
  TypeError: string indices must be integers
  </code></pre>