skbio.metadata.SampleMetadata.get_column#

SampleMetadata.get_column(name)[source]#

Retrieve metadata column based on column name.

Parameters:
namestr

Name of the metadata column to retrieve.

Returns:
MetadataColumn

Requested metadata column (CategoricalMetadataColumn or NumericMetadataColumn).

See also

get_ids