scicloj / tablecloth

Dataset manipulation library built on the top of tech.ml.dataset
https://scicloj.github.io/tablecloth
MIT License
305 stars 27 forks source link

'group-by' single column gives unexpected group name #134

Open behrica opened 9 months ago

behrica commented 9 months ago
(-> articles
    (tc/group-by  :output-type)
    (tc/aggregate {:num-articles tc/row-count}))

|                         :$group-name | :num-articles |
|--------------------------------------|--------------:|

I would expect the group name to be ":output-type"

It does work , if I use [:output-type] as grouping

genmeblog commented 9 months ago

Yes, it works now like that. I need to remind why. If there is no any reason I will make a change.