Advertisement
korenizla

Untitled

Aug 1st, 2022
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. data['days_imployed'] = data.groupby('income_type')['days_employed'].transform(lambda x: x.fillna(x.median()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement