implydata / plywood

A toolkit for querying and interacting with Big Data

Home Page:https://plywood.imply.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does quantile require data be sorted first?

c0b opened this issue · comments

commented

as d3.quantile required that,

https://github.com/d3/d3/wiki/Arrays#d3_quantile

I'm not seeing this plywood quantile work as expected in ed780ff#commitcomment-17744755 ; please also fix this code example beea9b1#commitcomment-17744746

commented

neither works in browser: even I have done sort:

image

this is in chrome devtools of page http://bl.ocks.org/vogievetsky/9d3db7aeefd23694f052

> window.frames[0].plywood
Object {version: "0.8.1", WallTime: WallTime, POSSIBLE_TYPES: Object, helper: Object, Chronoshift: Object}
> var plywood = window.frames[0].plywood;
...

Sorry about this, native quantile never worked (it only worked if you are using Druid). I actually made them work a long time ago but that code accidentally fell between the cracks and sat in an obscure branch on my computer. Will be fixed (tomorrow) when #105 is merged.