-3

everybody. I learn NumPy and pandas with the Jupyter. When printing, it does not show borderlines and grey blocks. Example:

actual_result

Should be:

expected

How to solve it? Thank you very much, everybody.

Ed_Ab
  • 53
  • 1
  • 5
KHC
  • 1
  • 2

1 Answers1

0

The 'borderlines and grey blocks' view is a rendered HTML version of your dataframe.

You can either just use b as @Carlos Bergillos mentioned, or use

from IPython.display import display

display(b)

Please see other very similar questions:

Ed_Ab
  • 53
  • 1
  • 5