text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train = pd.read_csv('../input/act_train.csv', parse_dates=['date'])
test = pd.read_csv('../input/act_test.csv', parse_dates=['date'])
ppl = pd.read_csv('../input/people.csv', parse_dates=['date'])
df_train = pd.merge(train, ppl, on='people_id')
df_test = pd.merge(test, ppl, on='people_id')
del train, test, ppl

df_train.head(2)
plus = sum(df_train.loc[:, 'outcome'] == 0)
minus = sum(df_train.loc[:, 'outcome'] == 1)
print(plus, minus)
print(df_train['outcome'].unique())