lamindb.curators.core.CatVector

class lamindb.curators.core.CatVector(values_getter, field, key, values_setter=None, source=None, feature=None, cat_manager=None, subtype_str='', maximal_set=True)

Bases: object

Vector with categorical values.

Attributes

property is_validated: bool

Whether the vector is validated.

property values

Get the current values using the getter function.

Methods

add_new(**create_kwargs)

Add new values to the registry.

Return type:

None

standardize()

Standardize the vector.

Return type:

None

validate()

Validate the vector.

Return type:

None