Esempio n. 1
0
def diveg(f="data/weather.csv", loud=False):
    the = about.defaults()
    t = Tab(file=f)
    if len(t.rows) > 2000: the.tiny = 0.66
    all = sorted(clusters.div(t, the, cols=t.cols.x, loud=True))
    print([col.txt for col in t.cols.y])
    print(rs(t.y(), 3), "<== baseline")
    for x in all:
        print(rs(x.y(), 3))
    for span in sorted(all[0].bins(all[-1], the)):
        print(span)
    print(round(random.random(), 3), the)