📜  Python IRR 计算 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:30.186000             🧑  作者: Mango

代码示例1
irr1 = np.irr(project1_cf["cf"])
irr2 = np.irr(project2_cf["cf"])
irr_df = pd.DataFrame({"Name":["Project1", "Project2"],
                      "IRR":[irr1, irr2]})
print(irr_df)