ibis.expr.api.CategoryValue.label

CategoryValue.label(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

Return type

string value expression