For the latest version of JMP Help, visit

Scripting Guide > Data Tables > Columns > Compress Selected Columns
Publication date: 07/30/2020

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 as follows:

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

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

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