skbio.table.Table.get_table_density#

Table.get_table_density()[source]#

Returns the fraction of nonzero elements in the table.

Returns:
float

The fraction of nonzero elements in the table