scicloj / tablecloth

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

Extend use of aggregate functions to multiple columns #147

Open behrica opened 5 months ago

behrica commented 5 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