2021年3月3日星期三

PYTHON Create a budget and actual comparison table for a month and a period

I have 2 dataframe, one with the budget and one with the actual

budget Group / Acount / 1 / 2 / 3 / 4 ... 12 Total Rubro A / 123 / 10/10/10 ..... / 120 Rubro B / 220 10/10/10 ..... / 120

Actual Group / Acount / 1 / 2 / 3 / 4 ... 12 Total Rubro A / 123 / 5/8 Rubro B / 220 5/8

I want to compare February

Group /Mounth / Acum Group 2 / 2 --- Budget / Actual Budget / Actual Rubro A 10 /8 20 / 13 Rubro B 10 / 8 20 / 13 What would be the code to build the new dataframe ?? Thank

https://stackoverflow.com/questions/66467556/python-create-a-budget-and-actual-comparison-table-for-a-month-and-a-period March 04, 2021 at 10:05AM

没有评论:

发表评论