biom.table.Table._to_sparse¶
- static Table._to_sparse(values, transpose=False, dtype=<class 'float'>, input_is_dense=False, shape=None)¶
Try to return a populated scipy.sparse matrix.
NOTE: assumes the max value observed in row and col defines the size of the matrix.