set_subgroup_id

Set subgroup identifiers for all input objects.

Method call format

set_subgroup_id(subgroup_id)

Parameters

ParameterPossible typesDescriptionDefault value
subgroup_id
  • list
  • numpy.ndarray
  • pandas.DataFrame
  • pandas.Series
Subgroup identifiers for all input objects. Supported identifier types are:
  • int
  • string types (string or unicode for Python 2 and bytes or string for Python 3).
Required parameter