PYTHON : Apply function to each row of pandas dataframe to create two ...

PYTHON : Apply function to each row of pandas dataframe to create two ...