Returns a DataFrame with the first n rows of data.
px.DataFrame: DataFrame with the first n rows.
px.DataFrame
df = px.DataFrame('http_events')# Keep only the first 100 http requests.df = df.head(100)