Split() breaks a stacked column into several columns.
The following example reverses the previous example for Stack(), returning essentially the original table, except that the height and weight columns now appear in alphabetic order:
dt << Stack(
Source Label Column( "ID" ),
Stacked Data Column( "Y" ),
Name( "Non-stacked columns" )( Keep( :age, :sex ) ),
Output Table( "Stacked Table" )
dt2 = Data Table( "Stacked Table" );
dt2 << Split(
Output Table( "Split" ) );