Advertisement
g96

Untitled

g96
Mar 21st, 2022
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. def normalise_row(row):
  2.     if row['ship to name'] == 'XY'
  3.     ...
  4.     ...
  5.     ...
  6.     return result
  7.  
  8. df['Normalized'] = df.apply(lambda row : normalise_row(row), axis=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement