Scripting Guide > Data Tables > Advanced Data Table Scripting > Select Columns in a Data Table
发布日期: 04/13/2021

Select Columns in a Data Table

To select one or more columns, send the Select Columns message to the data table.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
clist = {:Height, :Weight};
dt << Select Columns( clist );

To select all columns, send the Select Columns message with the All argument to the data table.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Columns( all );
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).