-
Notifications
You must be signed in to change notification settings - Fork 6
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
Change plural form of column names to singular #102
Comments
Thanks for creating this issue @glatterf42. I looked a bit more closely at the previous ixmp API vs. the new implementation, and I think the changes are not that big... The main issue... The methods I assume that many users have elaborate scripts for working with these dataframe in pre- or postprocessing, so in order to keep disruption during migration to ixmp4 minimal, we have to maintain this behavior with the methods Methods that were introduced only in ixmp4 like Not sure which strategy is better, adapting the PRs or doing a follow-up PR... |
In principle, this would probably be something that the shim layer that @khaeru suggested could take care of. However, we can of course adjust the names of the columns in the dataframes for historical consistency.
For things like |
Sounds good to me to do the consistency-renaming as a follow-up PR, and agree to keep the |
Originally posted by @danielhuppmann in #101 (comment)
As mentioned above, many optimization objects at the moment expect to retrieve hardcoded column names such as
elements
,values
, andlevels
, as appropriate. These names should be changed to their singular form in the DB layer (please correct me if this is wrong, @danielhuppmann). This could happen before the respective PRs are merged or with a separate cleanup immediately afterwards.The text was updated successfully, but these errors were encountered: