Open
Conversation
maximlt
reviewed
Aug 28, 2025
| "id": "817592aa", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "## Overview of the Three Approaches\n", |
Member
There was a problem hiding this comment.
Adding this comment after going through the whole notebook. I like it but think it can be re-organized a little to be even better. How I see it is that there are three main use cases:
- Drilling down a dataset with widgets ->
groupby - Facetting a dataset ->
by+subplots - Color a dataset
The first two are pretty straightforward to explain. The last one is where things are a bit more subtle are users can use wither by or c/color but there are differences:
by:- Creates containers (can be indexed and stuff)
- Accept a list of dimensions
- Generates an overlay -> If many overlays (many values in a dimension) then performance can be affected
- Works only for categorical data (i.e. no nice colorbar for numerical data)
color:- Single Element returned
- Does not accept a list of dimensions
- Can also be used for getting a nice colorbar
And I would document color before by as I think most users should probably use color?
Collaborator
Author
There was a problem hiding this comment.
Arranging them this way is a bit more 'poetic' as it kinda rolls off the tongue better: groupby -> by -> color. Putting color in-between both kinda breaks the flow IMO.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #1641
groupbyvsbyvscolor