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
skyzvoir0001
Level III

Delete Column

I have 190+ columns and I wanted to delete columns stored in the list

Remain_columns = { column names I want to remain}.
How do I do it using for loop?

1 REPLY 1
txnelson
Super User

Re: Delete Column

You do not have to loop through the names.  That is, assuming you want all of the columns named in that list to be deleted.  Below is a simple example 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

namesCol = dt << get column names( string, continuous );

dt << delete columns( namesCol );
Jim

Recommended Articles