ibis.expr.api.CategoryValue.label

CategoryValue.label(arg, labels, nulls=None)

Format a known number of categories as strings

Parameters:

labels : list of string

nulls : string, optional

How to label any null values among the categories

Returns:

string_categories : string value expression