biom.table.Table.get_table_density

Table.get_table_density()

Returns the fraction of nonzero elements in the table.

Returns:
float

The fraction of nonzero elements in the table