Hello @Neo,
When selecting multiple columns, you can right-click on them and select "Standardize Attributes" (Standardize Attributes and Properties Across Columns (jmp.com)) :
Looking at the script log, you can then extract the code for this attributes standardization. Example here is :
// Standardize column attributes
Local( {old dt = Current Data Table()},
Current Data Table( Data Table( "Test" ) );
For Each( {col, index}, {:Column 1, :Column 2, :Column 3},
col << Data Type( Numeric, Format( "Fixed Dec", 12, 2 ) ) << Set Modeling Type( "Continuous" )
);
Current Data Table( old dt );
);
Hope this answer will help you,
Victor GUILLER
L'Oréal Data & Analytics
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)