It would be nice if panel dataframes respected pd.set_option('display.max_rows', 5) or had a similar global settings interface like pn.set_option(‘display.max_rows’, 5). Because in my parameterized classes, now instead of just being able to return dataframes in my functions, I have to return pn.panel(df, max_rows=5), which is annoying because sometimes I just want the raw dataframe.
import pandas as pd
import panel as pn
pd.set_option('display.max_rows', 5)
df = pd.DataFrame(list(range(20)))
df
pn.panel(df)
pn.panel(df, max_rows=5)