Skip to content

Instantly share code, notes, and snippets.

@BinarySpoon
Last active October 31, 2020 10:44
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 BinarySpoon/ab9231e2c8f27db507b8f41427b48df3 to your computer and use it in GitHub Desktop.
Save BinarySpoon/ab9231e2c8f27db507b8f41427b48df3 to your computer and use it in GitHub Desktop.
# Distribution Curves -->
fig, axis = plt.subplots(ncols=7, nrows=2, figsize=(20,10))
index= 0
axis = axis.flatten()
for k,v in boston_data.items():
sns.distplot(v, ax=axis[index])
index += 1
plt.tight_layout(pad=0.5, w_pad=0.5, h_pad = 5.0)
# Distribution Curve Overlay {Target Column} -->
sns.distplot(boston_data['Target'], bins=40)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment