I have written about 100 lines of code in a Jupyter Notebook cell, and in the middle of the code, I have something like this:
pd.set_option('display.max_rows', 1000)
x = np.random.rand(1000,3)
display(pd.DataFrame(x))
It shows me the entire table, but I was wondering if there is an option in Pandas to limit the vertical size of the output table & add a vertical scroll bar to allow better viewing. I mean, a separate vertical scroll bar than the cell output scroll bar (which I have toggled off by the way).
From what I understand, one option is to use Plotly table visualization as explained in this, but I wanted to avoid that if possible & use a more native solution because with plotly / Dash, the table text is not selectable anymore (Not sure haven't tested it yet though).