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
#Explore location type vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('location_type', hue= 'bank_account', data=data) | |
plt.xticks( | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#Explore gender_of_respondent vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('gender_of_respondent', hue= 'bank_account', data=data) | |
plt.xticks( | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#Explore gender_of_respondent vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('gender_of_respondent', hue= 'bank_account', data=data) | |
plt.xticks( | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#Explore cellphone_accesst vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('cellphone_access', hue= 'bank_account', data=data) | |
plt.xticks( | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#Explore 'education_level vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('education_level', hue= 'bank_account', data=data) | |
plt.xticks( | |
rotation=45, | |
horizontalalignment='right', | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#Explore 'education_level vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('education_level', hue= 'bank_account', data=data) | |
plt.xticks( | |
rotation=45, | |
horizontalalignment='right', | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#Explore job_type vs bank account | |
plt.figure(figsize=(16, 6)) | |
sns.countplot('job_type', hue= 'bank_account', data=data) | |
plt.xticks( | |
rotation=45, | |
horizontalalignment='right', | |
fontweight='light', | |
fontsize='x-large' | |
) |
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
#import the package | |
import pandas_profiling |
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
# generate report | |
eda_report = pandas_profiling.ProfileReport(data) | |
eda_report |
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
#save the generated report to the html file | |
eda_report.to_file("eda_report.html") |