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

Remove pandas dependency by decoupling csv writing from dataframes #176

Merged
merged 28 commits into from
Apr 25, 2023

Conversation

machallboyd
Copy link
Contributor

@machallboyd machallboyd commented Apr 24, 2023

Removes all dependencies on pandas, which was mostly being used to write CSVs.

At the moment, there's no tests to see if it's producing the same CSVs as before.

Also removes two run_... files which were not in active use.

@machallboyd machallboyd marked this pull request as ready for review April 24, 2023 23:25
@machallboyd machallboyd changed the title Remove pandas dependency Remove pandas dependency by decoupling csv writing from dataframes Apr 25, 2023
@machallboyd
Copy link
Contributor Author

This is finally passing tests.

@nreinicke nreinicke self-requested a review April 25, 2023 17:55
Copy link
Collaborator

@nreinicke nreinicke left a comment

Choose a reason for hiding this comment

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

Nice! I love that we can not depend on pandas for the core simulator; left a small comment

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we want to bring this back since we supply a command line tool that uses it:

hive-batch = "nrel.hive.app.run_batch:run"

But, this doesn't use pandas so hopefully that's a trivial ask.

@nreinicke nreinicke merged commit 1a27476 into NREL:main Apr 25, 2023
4 checks passed
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.

None yet

2 participants