Skip to content
Discussion options

You must be logged in to vote

Your problem isn't with row expansion, rather this is not how group-by works. You can't expand the "Fruit" row because this is a leaf node, there are no children because you've only applied a single pivot level. Please check the documentation for group_by, or any of the interactive examples on the perspective docs site that feature group-by operations.

If you want a pivot table, use perspective-viewer - there is nothing in the perspective-python API which is not 1:1 already implemented in the perspective-viewer UI. If you want a master-detail view, here is an example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akramer24
Comment options

Answer selected by texodus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants