3

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?

Addem
  • 3,635
  • 3
  • 35
  • 58

1 Answers1

3

As mentioned in the comment, using display instead of print does the job.

Addem
  • 3,635
  • 3
  • 35
  • 58