For the latest version of JMP Help, visit

Scripting Guide > Data Tables > Columns > Compress Selected Columns
Publication date: 11/10/2021

Compress Selected Columns

To minimize the size of a large data table, use the Compress Selected Columns message. Each column is compressed into the most compact form.

dt << Compress Selected Columns( {column name, column name} );

For example, compress the age, sex, height, and weight columns in Big

dt = Open( "$SAMPLE_DATA/Big" );
dt << Compress Selected Columns(
{:age, :sex, :height, :weight}

For more information about this feature, see Compress Selected Columns in Data Tables in Using JMP.

Want more information? Have questions? Get answers in the JMP User Community (