scicloj / tablecloth

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

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

Open behrica opened 4 months ago

behrica commented 4 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 4 months ago

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