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

Make <OptimizationItem>.data a pd.DataFrame in the core layer #134

Open
glatterf42 opened this issue Nov 26, 2024 · 0 comments
Open

Make <OptimizationItem>.data a pd.DataFrame in the core layer #134

glatterf42 opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@glatterf42
Copy link
Member

In his review of #101, @danielhuppmann noted that we should return a pd.DataFrame for e.g. optimization.indexset.data, at least in the core layer. This would retain consistency with ixmp and we expect most users to want a pd.DataFrame. Should they require a dict, the conversion can still be done in one line, much as it is now.

@glatterf42 glatterf42 added the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant