Kaggle competition: HuBMAP - Hacking the Kidney
<import_modules><EOS> 
huang = pd.read_csv('.. /input/again-newmachine/submission(29 ).csv')
 huang.reset_index(drop = True)
 dfsample = pd.read_csv('.. /input/hubmap-kidney-segmentation/sample_submission.csv')
 mydict = dict(zip(huang['id'], huang['predicted']))
dfsample['predicted'] = dfsample['id'].map(mydict ).fillna(dfsample['predicted'])
 dfsample = dfsample.replace(np.nan, '', regex=True)
 dfsample.to_csv('submission.csv',index=False)
 dfsample.head()