pd.set_option("display.max_rows", None)
In [27]:
##javascript
IPython.OutputArea.auto_scroll_threshold = 10;
In[28]:
def display_():
pd.set_option("display.max_rows", None)
from IPython.core.display import display
display(df) #df must be defined up there