Skip to content

add scripts to help with pre processing files for ml cge - #94

Open
Rashmil-1999 wants to merge 2 commits into
masterfrom
93-create-a-script-to-modify-coefficients-file-for-ml-cge
Open

Rashmil-1999 wants to merge 2 commits into
masterfrom
93-create-a-script-to-modify-coefficients-file-for-ml-cge

Conversation

@Rashmil-1999

Copy link
Copy Markdown
Contributor

This PR adds 2 files for you to use to pre process the coefficients files and the base val files.

@Rashmil-1999 Rashmil-1999 linked an issue Mar 12, 2025 that may be closed by this pull request

def create_csv(filename):
base_caps = pd.read_excel(filename, sheet_name=[1, 2, 3, 4, 5])
base_caps[1].to_csv(os.path.join(op_dir, "HH_base_val.csv"))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Typo? First one should be DS_base_val.csv?

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.

Create a script to modify Coefficients file for ML CGE

2 participants