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

Use **otoole** to read in model data #4

Open
willu47 opened this issue Mar 9, 2020 · 0 comments
Open

Use **otoole** to read in model data #4

willu47 opened this issue Mar 9, 2020 · 0 comments

Comments

@willu47
Copy link
Member

willu47 commented Mar 9, 2020

Visualisation script could use otoole to read in model data.

e.g.

from otoole import read_packaged_file
from otoole.preprocess. datafile_to_datapackage import read_in_datafile, convert_amply_to_dataframe

config = read_packaged_file("config.yaml", "otoole.preprocess")
amply_datafile = read_in_datafile(path_to_datafile, config)
dict_of_dataframes = convert_amply_to_dataframe(amply_datafile, config)

returns a dict of pandas DataFrames

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

No branches or pull requests

1 participant