Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Group-by Plots in HoloViews
There are many ways to achievie groupby in HolovViews.
Directly use the groupby method of HoloViews objects!!!
Use the method HoloMap to create a dictionary of parameters to HoloViews objects.
Use the method dataset.to which has groupby option. However, it seems to me that this doesn't give me options to select which one to show. But with click and transparent parameters configured, you can achieve similar effect ...
Aggregation in pandas DataFrame
Comment¶
The order of elements within each group are preserved (as the original order).
groupby
works exactly the same on index if the index is named.The order of columns in groupby matters if you want unstack the results later.
groupby works on columns too and it can group by some level of a MultiIndex.