|  | ## Pivot

#### Synopsis

Transforms an example set by grouping multiple examples of single units to single examples.

#### Description

Transforms an example set by grouping multiple examples of single groups into single examples. The parameter group_attribute specifies an attribute which identifies examples belonging to the groups. The parameter index_attribute specifies an attribute whose values are used to identify the examples inside the groups. The values of this attributes are used to name the group attributes which are created during the pivoting. Typically the values of such an attribute capture subgroups or dates. If the source example set contains example weights, these weights may be aggregated in each group to maintain the weightings among groups.

#### Input

- example set input: expects: ExampleSetMetaData: #examples: = 0; #attributes: 0

, expects: ExampleSet

#### Output

- example set output:
- original:

#### Parameters

- group attribute: Attribute that groups the examples which form one example after pivoting.
- index attribute: Attribute which differentiates examples inside a group.
- consider weights: Determines whether weights will be kept and aggregated or ignored.
- weight aggregation: Specifies how example weights are aggregated in the groups.
- skip constant attributes: Skips attributes if their value never changes within a group.

#### ExampleProcess