pymrio.calc_x

pymrio.calc_x(Z, Y)

Calculate the industry output x from the Z and Y matrix

industry output (x) = flows (sum_columns(Z)) + final demand (sum_columns(Y))

Parameters
  • Z (pandas.DataFrame or numpy.array) – Symmetric input output table (flows)

  • Y (pandas.DataFrame or numpy.array) – final demand with categories (1.order) for each country (2.order)

Returns

Industry output x as column vector The type is determined by the type of Z. If DataFrame index as Z

Return type

pandas.DataFrame or numpy.array