functions.py
: SummaryCoalescingFunction("sum", sql.functions.sum),
SummaryCoalescingFunction("count_nonempty", sql.functions.count),
FactCountFunction("count"),
FactCountDistinctFunction("count_distinct"),
ValueCoalescingFunction("min", sql.functions.min),
ValueCoalescingFunction("max", sql.functions.max),
ValueCoalescingFunction("avg", avg),
ValueCoalescingFunction("stddev", stddev),
ValueCoalescingFunction("variance", variance)
sum
to count true values, but I'm not sure whether you can use booleans like that.
Hello everyone, if you are looking for an OLAP cube Python library, you can check out https://atoti.io
Disclaimer: I'm working for the atoti project.
(I precise I took the liberty to mention it since this project is not maintained anymore)
/facts?format=csv
in your query, like for example: http://cubesdemo.cubesviewer.com/cube/webshop_sales/facts?format=csv