mario.calc_Xc
- mario.calc_Xc(U, Yc)#
Calculate SUT commodity production
Xcfrom use flows and final demand.\[X_c = U\mathbf{1} + Y_c\mathbf{1}\]- Parameters:
U (pandas.DataFrame) – Use flows, with commodity rows and activity columns.
Yc (pandas.DataFrame) – Commodity final demand, with the same row index as
U.
- Returns:
Commodity production, indexed like the rows of
U, with one column namedproduction.- Return type:
pandas.DataFrame