title: Print Visually Pleasing DataFrames in For Loop in Jupyter Notebook Pandas
body: <p>Say I have these two Data Frames in a list,</p>
  
  <pre><code>sm = pd.DataFrame([["Forever", 'BenHarper'],["Steel My Kisses", 'Kack Johnson'],\
                    ["Diamond On the Inside",'Xavier Rudd'],[ "Count On Me", "Bruno Mars"]],\
                     columns=["Song", "Artist"])
  
  pm = pd.DataFrame([["I am yours", 'Jack Johnson'],["Chasing Cars", 'Snow Patrol'],\
                    ["Kingdom Comes",'Cold Play'],[ "Time of your life", "GreenDay"]],\
                     columns=["Song", "Artist"])
  
  df_list = [sm,pm]
  </code></pre>
  
  <p>Now, when I want to print both data frames while iterating, I get something like this,</p>
  
  <pre><code>for i in df_list:
      print(i)
  </code></pre>
  
  <p>Result,</p>
  
  <pre><code>                  Song        Artist
  0                Forever     BenHarper
  1        Steel My Kisses  Kack Johnson
  2  Diamond On the Inside   Xavier Rudd
  3            Count On Me    Bruno Mars
                  Song        Artist
  0         I am yours  Jack Johnson
  1       Chasing Cars   Snow Patrol
  2      Kingdom Comes     Cold Play
  3  Time of your life      GreenDay
  </code></pre>
  
  <p>However, when we do <code>df_list[0]</code> it prints in a pleasing tabular manner,</p>
  
  <p><a href="https://i.stack.imgur.com/dYSJK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dYSJK.png" alt="enter image description here"></a></p>
  
  <p>Can I get that same way in a visually pleasing way when I loop through the list and print Data Frame?? I have been searching and no luck yet. Any ideas how to do that?</p>
  
  <p>(Sorry, if this is something that is normal in python, as I am new to Python and Jupyter, visually pleasing ones make me feel happy to see)</p>