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

Extend use of aggregate functions to multiple columns #147

Open behrica opened 7 months ago

behrica commented 7 months ago

Fails currently:

(def relig-income (tc/dataset "data/relig_income.csv"))

(-> relig-income
    (tc/group-by ["religion"])
    (tc/mean ["<$10k" "$10-20k"  ])

    )

Could returns DS with column summary-0 , summary-1 with the means