image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

import seaborn as sns

df = pd.read_csv('../input/train.csv')

df = df.set_index('ID_code')
y = df['target']
X = df.drop(['target'], axis=1)

fig, ax = plt.subplots(figsize=(13, 3))

# TR the count is computed automatically
g = sns.countplot(x='target', data=df)

plt.show()

fig, ax = plt.subplots(ncols=3, figsize=(20, 4))
sns.distplot(df['var_0'], ax=ax[0], color='red')
sns.distplot(df['var_1'], ax=ax[1], color='green')
sns.distplot(df['var_3'], ax=ax[2], color='blue')
plt.show()