Aug-20-2019, 03:52 PM
perhaps try something like :
df['cashflow'] = df.apply( cash_flow_list(df['fv'],df['cp_rate'],df['maturity_year'],df['coupon_per_year'])** But I am new to python and pandas - usually doesnt do what I want/need