image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

act_df = pd.read_csv('../input/act_train.csv', sep=',')

fig, ax = plt.subplots()
fig.set_size_inches(30, 20)
h = sns.countplot(x='char_1',data=act_df,hue='outcome',ax=ax)
h.set_xticklabels(h.get_xticklabels(),rotation=50)
sns.plt.show()

fig, ax = plt.subplots()
fig.set_size_inches(30, 20)
people_df = pd.read_csv('../input/people.csv', sep=',')
group_based_ppl_count = people_df.groupby(['group_1']).count().sort_values(by='people_id', ascending=[0])
group_based_ppl_count = group_based_ppl_count.reset_index()
group_based_ppl_count = group_based_ppl_count.ix[:20,]
g = sns.barplot(x='group_1', y='people_id', data=group_based_ppl_count, ax=ax)