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

Support/think about using MultiIndex columned dataframes in the whole workflow #382

Open
milesgranger opened this issue Aug 6, 2019 · 0 comments
Labels

Comments

@milesgranger
Copy link
Contributor

Relates to #369

To supply multiple multiple aggregation methods per tag, it is a cleaner solution to use pd.MultiIndex for columns such that:

For two aggregation functions:

                    tag1     tag2    
                    mean sum mean sum
2016-01-01 00:00:00    4  36    4  36
2016-01-01 01:00:00    9   9    9   9

or if a single agg:

                    tag1 tag2    
                    mean mean
2016-01-01 00:00:00    4    4
2016-01-01 01:00:00    9    9

#369 has added support for the aggregation functions, but no support for the larger use of these multi level columns in the remainder of the project.

@flikka flikka changed the title Use MultiIndex columned dataframes in workflow Support/think about using MultiIndex columned dataframes in the whole workflow Jan 28, 2020
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

1 participant