Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bilat_trade to iomath #79

Merged
merged 2 commits into from
Nov 8, 2021
Merged

Conversation

rich-wood
Copy link
Contributor

Adding functionality to iomath to pull out bilateral trade data. I have not updated the mriosystem or calc_all to include this routine in there yet. Perhaps check the naming of output variables for consistency (noting that "import" and "export" are used in a "net" sense elsewhere in iomath)

Adding functionality to iomath to pull out bilateral trade data
pandas.DataFrame
bilateral trade flows as a matrix showing region and sector of origin in rows, and region of import in columns

NOTE: ONLY IMPLEMENTED FOR DataFrame right now
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In numpy docstrings (which you are using here, thats great), the notes would come before the Parameters like:

Notes

ONLY IMPLEMENTED FOR DataFrame right now

Parameters

...

small detail, if you want to change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done - hope that is OK!

Copy link
Member

@konstantinstadler konstantinstadler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for that! I will merge that in when I fixed the other error.
I just requested a small change, if you are up to it (basically you change it in you repo and just push again, it will automatically update the merge request)

small desc update
@konstantinstadler konstantinstadler merged commit 0b6590b into IndEcol:master Nov 8, 2021
@konstantinstadler
Copy link
Member

thanks a lot, I will integrate it into the pymrio object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants