text_plain_output_1.png image_output_1.png
import pandas as pd

import seaborn as sns

loan = pd.read_csv('../input/loan-prediction-analytics-vidhya/train_ctrUa4K.csv')

loan.isnull().sum()

loan.dtypes

loan.groupby('Gender')['Loan_Status'].value_counts()

loan.groupby('Married')['Loan_Status'].value_counts()

sns.barplot(x='Married', hue='Loan_Status', y='ApplicantIncome', data=loan)