0

I have a data frame, say df, and when I go with print(df) or repr(df), I get a not very palatable output.

print(df) result:

enter image description here

but when I just put a naked df in the cell and run it, I get something like this:

enter image description here

Question: Which function was implicitly executed to produce that output? I would like to put it in a for loop and display many dataframes that way.

Alex Deft
  • 2,531
  • 1
  • 19
  • 34

0 Answers0