Firefox scrollbar firefox

I have a pandas DataFrame with over 70 columns.
When I do calculations on it, firefox (on windows) has a DataFrame printed in a larger space than the window allocated for it. I would like the scroll bar to be located inside the ipython window allocated for it. Is there any clean way to handle this?

It can be recreated in firefox using this code in the ipython laptop window.

df = pd.DataFrame(np.random.randn(100, 20)) df.tail() 
+5
source share

All Articles