Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/m/o/mozsci-HEAD/test/test_histogram.py   mozsci(Download)
 
        # generate a 1e6 size sample
        x = hist.sample(int(hist.bin_count.sum()))
 
        # now sample the large sample in 2 ways