Guest User

Untitled

a guest
Dec 14th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # Impute lot frontage
  2. ames_train.loc[ames_train['Lot Frontage'] == 0,
  3. 'Lot Frontage'] = ames_train['Lot Area'] * .25
  4.  
  5. ames_submission.loc[ames_submission['Lot Frontage'] == 0,
  6. 'Lot Frontage'] = ames_submission['Lot Area'] * .25
Add Comment
Please, Sign In to add comment