cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-717745%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ECome%20posso%20creare%20una%20nuova%20tabella%20utilizzando%20altre%20colonne%3F%20(ottengo%20colonne%20da%20tabelle%20diverse)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-717745%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FBig%20Class.jmp%22%20)%3B%0Adt1%20%3D%20Open(%20%22%24SAMPLE_DATA%2FIris.jmp%22%20)%3B%0A%0ANew%20Table(%20%22Merge%20Columns%22%2C%0A%20Add%20columns(%203%20)%2C%0A%20Add%20rows(100)%2C%0A%20New%20Column(%20%221st%22%2C%0A%20%20%0A%20%20Set%20Values(%20column(dt%2C%203%20)%20)%0A%20)%2C%0A%20New%20Column(%20%222nd%22%2C%0A%20%20%0A%20%20Set%20Values(%20column(dt%2C%201)%20)%0A%20)%2C%0A%20New%20Column(%20%223rd%22%2C%0A%20%0A%20%20Set%20Values(%20column(dt1%2C%201)%20)%0A%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3ECiao%20a%20tutti.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EVoglio%20creare%20una%20nuova%20tabella%20ottenendo%20altre%20colonne%20da%20tabelle%20diverse.%3C%2FP%3E%3CP%3ECome%20lo%20posso%20fare%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-717745%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAnalisi%20e%20modellazione%20dei%20dati%20di%20base%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-717753%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20Come%20posso%20creare%20una%20nuova%20tabella%20utilizzando%20altre%20colonne%3F%20(ottengo%20colonne%20da%20tabelle%20diverse)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-717753%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EL'unione%20%C3%A8%20molto%20probabilmente%20l'opzione%20migliore%20(abbina%20per%20numero%20di%20riga%20se%20non%20hai%20colonne%20da%20utilizzare).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1705571641478.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1705571641478.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1705571641478.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F60406i9FFB6338B82CAEDA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1705571641478.png%22%20alt%3D%22jthi_0-1705571641478.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EQuindi%20elimina%20le%20righe%20extra%20che%20non%20ti%20servono%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

How do I create a new table using another columns?(get columns from different tables)

Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt1 = Open( "$SAMPLE_DATA/Iris.jmp" );

New Table( "Merge Columns",
	Add columns( 3 ),
	Add rows(100),
	New Column( "1st",
		
		Set Values( column(dt, 3 ) )
	),
	New Column( "2nd",
		
		Set Values( column(dt, 1) )
	),
	New Column( "3rd",
	
		Set Values( column(dt1, 1) )
	)
);

Hi all.

 

I want to make a new table getting another columns by different tables.

How can I do that?

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How do I create a new table using another columns?(get columns from different tables)

Join is most likely the best option (match by row number if you don't have any column to use).

jthi_0-1705571641478.png

Then delete extra rows you don't need

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How do I create a new table using another columns?(get columns from different tables)

Join is most likely the best option (match by row number if you don't have any column to use).

jthi_0-1705571641478.png

Then delete extra rows you don't need

-Jarmo