For the latest version of JMP Help, visit JMP.com/help.

Scripting Guide > Data Tables > Columns > Compress Selected Columns
Publication date: 09/28/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 Class.jmp:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
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 (community.jmp.com).