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.

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.