Skip to content

Instantly share code, notes, and snippets.

@chrisdmell
Created January 15, 2022 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdmell/2961b632ca2695fcbd9cd806cd0475af to your computer and use it in GitHub Desktop.
Save chrisdmell/2961b632ca2695fcbd9cd806cd0475af to your computer and use it in GitHub Desktop.
figure(figsize=(10, 6), dpi=80)
price_f = final_cleaned_df[final_cleaned_df["average_price_s1_s2_filled"] != 0]
plt.subplot(1, 2, 1)
plt.title("Boxplot - Average Price")
price_f = final_cleaned_df[final_cleaned_df["average_price_s1_s2_filled"] != 0]
plt.boxplot(price_f.average_price_s1_s2_filled)
plt.subplot(1, 2, 2)
plt.title("Histogram - Average Price")
plt.hist(final_cleaned_df.average_price_s1_s2_filled, bins = 100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment