Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def normalise_row(row):
- if row['ship to name'] == 'XY'
- ...
- ...
- ...
- return result
- df['Normalized'] = df.apply(lambda row : normalise_row(row), axis=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement