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

Report overproduction fix #89

Closed
wants to merge 2 commits into from
Closed

Report overproduction fix #89

wants to merge 2 commits into from

Conversation

maledo
Copy link
Contributor

@maledo maledo commented Aug 25, 2016

No description provided.


# add timeseries demand and delta again to consumed
consumed = pd.concat(
(consumed, demand.rename('Demand'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is there a rename? Both Series seem to have the same name as when pop'ed in lines 1900, 1901.

Copy link
Contributor Author

@maledo maledo Aug 30, 2016

Choose a reason for hiding this comment

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

When you pop, the series has no name. So to set the name, the rename function is used.
See stackoverflow

maledo added a commit to maledo/urbs that referenced this pull request Aug 31, 2016
@maledo maledo closed this Aug 31, 2016
@maledo maledo deleted the repopfix branch June 16, 2017 13:30
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.

2 participants