From 5d2504641e2c54b042d97f0156666fcab8ebf702 Mon Sep 17 00:00:00 2001 From: Bryan Van de Ven Date: Mon, 21 Sep 2020 11:21:40 -0700 Subject: [PATCH] CuDF Series is not iterable --- holoviews/core/data/cudf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/core/data/cudf.py b/holoviews/core/data/cudf.py index bc801e2b88..0f5687b8e5 100644 --- a/holoviews/core/data/cudf.py +++ b/holoviews/core/data/cudf.py @@ -163,7 +163,7 @@ def groupby(cls, dataset, dimensions, container_type, group_type, **kwargs): group_kwargs['dataset'] = dataset.dataset # Find all the keys along supplied dimensions - keys = product(*(dataset.data[dimensions[0]].unique() for d in dimensions)) + keys = product(*(dataset.data[dimensions[0]].unique().values_host for d in dimensions)) # Iterate over the unique entries applying selection masks grouped_data = []