Skip to content

Commit 80ec483

Browse files
committed
Group optional columns.
1 parent cad7def commit 80ec483

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Data/DataFrame/Operations/Aggregation.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ groupColumns indices df acc name =
149149
(Just (BoxedColumn column)) ->
150150
let vs = V.map (`getIndices` column) indices
151151
in insertColumn' name (Just $ GroupedBoxedColumn vs) acc
152+
(Just (OptionalColumn column)) ->
153+
let vs = V.map (`getIndices` column) indices
154+
in insertColumn' name (Just $ GroupedBoxedColumn vs) acc
152155
(Just (UnboxedColumn column)) ->
153156
let vs = V.map (`getIndicesUnboxed` column) indices
154157
in insertColumn' name (Just $ GroupedUnboxedColumn vs) acc

0 commit comments

Comments
 (0)