LabeledDimension

class csdmpy.LabeledDimension(labels, label='', description='', application=None, **kwargs)[source]

Bases: BaseDimension

A labeled dimension.

Generates an object representing a non-physical dimension whose coordinates are labels. See LabeledDimension for details.

property coordinates

Return the coordinates along the dimensions. This is an alias for labels.

copy_metadata(obj)[source]

Copy LabeledDimension metadata.

property count

Total number of labels along the dimension.

dict()[source]

Return the LabeledDimension as a python dictionary.

is_quantitative()[source]

Return True, if the dimension is quantitative, otherwise False. :returns: A Boolean.

property labels

Return a list of labels along the dimension.

property type

Return the type of the dimension.