嘿,
我有大數據表(約3000萬行* 20列),並且此通過/失敗測試使JMP卡住了。
PC是Windows 10 64位,i7-4770 @ 3.4Ghz,SSD和32GB DDR3 1600Mhz。
JSL是:
cctable << New Column( "New status", Character, Nominal, Formula( If( :result < :L | :result > :H, "Fail", "Pass" ) ) );
可以更有效嗎?JMP中有更好的選擇嗎?
謝謝,
我做
謝謝!
我會做的。
儘管最有幫助的是1M * 100而不是80M * 5
我的測試花了15秒創建表,花了15秒添加表。我正在使用<< runFormulas來使公式立即求值,而不是等待空閒時間。
start = Tick Seconds();
dt = New Table( "Untitled",
Add Rows( 30e6 ),
New Column( "L", Numeric, "Continuous", Format( "Best", 12 ), Formula( Random Integer( 1, 9 ) ) ),
New Column( "result", Numeric, "Continuous", Format( "Best", 12 ), Formula( Random Integer( 1, 9 ) ) ),
New Column( "H", Numeric, "Continuous", Format( "Best", 12 ), Formula( Random Integer( 1, 9 ) ) )
);
dt<<RUNFORMULAS> :H, "Fail", "Pass" ) ) );
dt << runformulas;
stop = Tick Seconds();
Show( "add", stop - start, N Rows( dt ) );</RUNFORMULAS>
“創造”;
停止-開始= 12.8833333333605;
N行(dt)= 30000000;
“加”;
停止-開始= 12.6833333332906;
N行(dt)= 30000000;
Formula added添加公式
謝謝,但是“新專欄(... )”命令需要花費時間,並且一切都會陷入困境。
我將嘗試使用更新/加入
如果您(或其他任何人:))有其他想法,我將很高興聽到。
謝謝。