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 multi-level columns in pivot_table #511

Closed
garawalid opened this issue Jun 26, 2019 · 2 comments · Fixed by #635
Closed

Support multi-level columns in pivot_table #511

garawalid opened this issue Jun 26, 2019 · 2 comments · Fixed by #635
Labels
enhancement New feature or request

Comments

@garawalid
Copy link
Contributor

This issue tracks DataFrame.pivot_table (#386)
The actual implementation can handle values as a list but it's disabled right now with this condition :

if isinstance(values, list) and len(values) > 1:
    raise NotImplementedError('Values as list of columns is not implemented yet.')

We need to implement multi-level columns before updating pivot_table

@HyukjinKwon HyukjinKwon added the enhancement New feature or request label Jul 3, 2019
@ueshin
Copy link
Collaborator

ueshin commented Jul 26, 2019

Hi @garawalid,
We recently added a basic multi-index support in columns (#590).
Does that help you submit a PR?

@garawalid
Copy link
Contributor Author

@ueshin thanks for notifying me!
I'll see what I can do.

ueshin pushed a commit that referenced this issue Aug 26, 2019
Resolves #511, #636. 
In the test, the `kdf` is converted to Pandas DataFrame in order to use `sort_index()`. I'll update the test once #634 resolved.
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

Successfully merging a pull request may close this issue.

3 participants