I have a pandas DataFrame, st containing multiple columns:
DatetimeIndex: 53732 entries, 1993-01-0
This was solved here: Apply pandas function to column to create multiple new columns?
Applied to your question this should work:
def calculate(s):
a = s['path'] + 2*s['row'] # Simple calc for example
b = s['path'] * 0.153
return pd.Series({'col1': a, 'col2': b})
df = df.merge(df.apply(calculate, axis=1), left_index=True, right_index=True)