Created
January 3, 2022 07:21
-
-
Save kshirsagarsiddharth/2d7b29d962b73c843136f662da3ff5f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def univariate_hist(x = 'person_age'): | |
plt.figure(dpi = 130) | |
sns.set_style('whitegrid') | |
return sns.kdeplot(x = x, data = df, fill=True, palette = 'crest').set_title('Univariate visualization of Quantative Variable') | |
C = interact(univariate_hist, | |
x = widgets.Dropdown( | |
options = ['person_age','person_income','person_emp_length','loan_amnt','loan_int_rate','loan_percent_income','cb_person_cred_hist_length'] | |
) | |
) | |
interactive(children=(Dropdown(description='x', options=('person_age', 'person_income', 'person_emp_length', '… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment