biom.table.Table.min

Table.min(axis='sample')

Get the minimum nonzero value over an axis

Parameters:
axis{‘sample’, ‘observation’, ‘whole’}, optional

Defaults to “sample”. The axis over which to calculate minima.

Returns:
scalar of self.dtype or np.array of self.dtype
Raises:
UnknownAxisError

If provided an unrecognized axis.

Examples

>>> from biom import example_table
>>> print(example_table.min(axis='sample'))
[ 3.  1.  2.]