RITerm.labels

Contents

RITerm.labels#

property RITerm.labels: list[str]#

List of labels for all clusters represented by this term.

Examples

>>> import pandas as pd
>>> import liesel_gam as gam
>>> df = pd.DataFrame({"group": ["b", "a", "b"]})
>>> term = gam.TermBuilder.from_df(df).ri("group", scale=1.0)
>>> term.labels
['a', 'b']