LabeledDimensionΒΆ

class csdmpy.LabeledDimension(labels, label='', description='', application={}, **kwargs)[source]ΒΆ

Bases: csdmpy.dimensions.base.BaseDimension

A labeled dimension.

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

property axis_labelΒΆ

Return a formatted string for displaying label along the dimension axis.

property coordinatesΒΆ

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

property coordsΒΆ

Alias for the coordinates attribute.

copy()[source]ΒΆ

Return a copy of the object.

property countΒΆ

Total number of labels along the dimension.

property data_structureΒΆ

Json serialized string describing the LabeledDimension class instance.

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.

to_dict()[source]ΒΆ

Alias to the dict() method of the class.

property typeΒΆ

Return the type of the dimension.