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

self.columns doesn't always work #19

Open
cdemulde opened this issue Aug 2, 2017 · 0 comments
Open

self.columns doesn't always work #19

cdemulde opened this issue Aug 2, 2017 · 0 comments
Assignees
Labels

Comments

@cdemulde
Copy link
Member

cdemulde commented Aug 2, 2017

In the case where a column is added to the self.data dataframe, but not by a wwdata Class function, the self.columns command fails. Example:

dataset.columns

Gives ['airflow1','airflow2']
Executing:

dataset.data['airflow_total'] = dataset.data['airflow1']+dataset_control.data['airflow2']
dataset.columns

Gives the same result, while

dataset.data.columns

Does give
['airflow1','airflow2','airflow_total']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants