所以我有一個 excel 文件,其中包含多個工作表,每個工作表中都有相同類型的數據框(只是不同的值)。 我能夠導出“Fit Y by X”的腳本
Open();
Fit Group(
Bivariate( Y( :Total_Cost ), X( :LGP1 ), Automatic Recalc( 1 ) ),
Bivariate( Y( :Total_Cost ), X( :iteration ), Automatic Recalc( 1 ) ),
Bivariate( Y( :LGP2 ), X( :LGP1 ), Automatic Recalc( 1 ) ),
Bivariate( Y( :LGP2 ), X( :iteration ), Automatic Recalc( 1 ) ),
<<{Arrange in Rows( 2 )}
)我正在使用這個腳本從 python 調用 subprocess.call([, ])。
當我執行 python 代碼時,我選擇了我的 excel 文件,並且腳本僅應用於第一張工作表,而我希望它應用於所有工作表。 有人可以幫助我如何實現這一目標嗎?
我正在使用 JMP14 和 python3 來執行上述操作。