Guest User

Untitled

a guest
Oct 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. def tuple_unpack(value, another_value):
  2. ''' does some interesting stuff ... '''
  3. return value, another_value
  4.  
  5. df[['value_col','another_value_col']] = df.apply(lambda df.col, df.col: tuple_unpack)
Add Comment
Please, Sign In to add comment