When you run a function that returns a Pandas data frame in a Jupyter cell, it prints out this very aesthetic table. When you give an explicit command to print, it looks much worse. I have a list of data frames and I'd like to print each. Is there a way to get the nice version of the print using a for-loop?
As mentioned in the comment, using display
instead of print
does the job.