3

How to add more space between the two dataframes display

from Ipython.display import display

display(df_a)
display(df_b)
Saquib
  • 273
  • 3
  • 9

1 Answers1

0

Although display is already imported in the base so you don't have to do that explicitly, you can use HTML to display a break line with '\n', see example below:

from IPython.display import HTML
display(df_a, HTML('\n'))
display(df_b)

It will produce an empty break line between the contents of the two DataFrames