image_output_1.png
import pandas as pd

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

sample = pd.read_csv('../input/lish-moa/sample_submission.csv')
test_f = pd.read_csv('../input/lish-moa/test_features.csv')
train_f = pd.read_csv('../input/lish-moa/train_features.csv')
drug = pd.read_csv('../input/lish-moa/train_drug.csv')
targ_nscore = pd.read_csv('../input/lish-moa/train_targets_nonscored.csv')
targ_score = pd.read_csv('../input/lish-moa/train_targets_scored.csv')

train = train_f.merge(targ_score, on='sig_id', how='left')
train = train.merge(targ_nscore, on='sig_id', how='left')

len(train_f) - len(test_f)