mario.calc_Z
- mario.calc_Z(z, X)#
Calculate the
Zintersectoral transaction flows matrix.\[Z = z\,\operatorname{diag}(X)\]- Parameters:
z (pandas.DataFrame) –
zintersectoral transaction coefficients matrix.X (pandas.DataFrame) –
Xtotal production vector. Its index must match the columns ofz.
- Returns:
Zintersectoral transaction flows matrix. Each column ofzis scaled by the corresponding production value inX.- Return type:
pandas.DataFrame