it takes the values from the dataframe without ensuring that the order of columns without ensuring the order of columns is correct.
This can lead to hard to find bugs when adding new extensions to a mrio.
Improvements:
[ ] check if calc_A is the only function where this is a problem
[ ] investigate if instead of taking .values we could use the dataframes directly. If this is not possible, we need to check for correct order before doing any calculations
[ ] there should also be some .validate function, which checks for balance and if the order of columns is correct
dangerous bug in calc_A
it takes the values from the dataframe without ensuring that the order of columns without ensuring the order of columns is correct. This can lead to hard to find bugs when adding new extensions to a mrio.
Improvements: