<jupyter_start><jupyter_text>kernel density estimate<jupyter_code>sns.kdeplot(df.query('price < 200').price)<jupyter_output><empty_output><jupyter_text>"true shape" of interval data<jupyter_code>df[df['price'] < 200]['price'].value_counts().sort_index().plot.line()<jupyter_output><empty_output><jupyter_text>percentiles<jupyter_code>df1 = df[df.variety.isin(df.variety.value_counts().head(5).index)]

sns.boxplot(
    x='variety',
    y='points',
    data=df1
)<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup