biocore/biom-format — pull request #397 by wasade (2014-05-15 01:38:15+00:00)
Title: API: added Table.subsample

Resolves a point in #125. Note, I could not do the with replacement as `np.random.multinomial` doesn't take scipy sparse objects. On the plus side, this subsampling happens on sparse data.

@Jorge-C, this might be an easy target for cythoning. I just adapted the Python code from skbio for this.