serhii.net

In the middle of the desert you can say anything you want

22 Jun 2023

Vaex iterate through groups

Didn’t find this in the documentation, but:

gg = ds.groupby(by=["species"])
lg = next(gg.groups)
# lg is the group name tuple (in this case of one string)
group_df = gg.get_group(lg)
Nel mezzo del deserto posso dire tutto quello che voglio.