cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Dorami
Level I

How to change multiple columns attributes using scripts?

I have a table with col name : Name, Sex, Track 1, Track 1, Track 3, Track 4, Track 5 .... Track 50

All cols are character, nominal. I would like to change Track 1 to Track 50 to number, continuous. How can I do that using script?

1 REPLY 1
jthi
Super User

Re: How to change multiple columns attributes using scripts?

Easiest way is to select all columns and use Standardize Attributes

jthi_2-1692004249275.pngjthi_2-1692004249275.png

 

jthi_0-1692004217810.pngjthi_0-1692004217810.png

and then copy the captured script

jthi_1-1692004232319.pngjthi_1-1692004232319.png

 

Other option would be to use << Get Column Names("String") to get list of column names and then loop over that list while using << Data Type("Numeric") and << Modeling Type("Continuous").

-Jarmo

Recommended Articles