def get_main(lua, script):
    main = _get_entrypoint(lua, script)
    _check_main(main)
    return main, lua.eval("_G")
For computing marginal effects returns dF(XB) / dX where F(.) is
dataset/ETHPy150Open scrapinghub/splash/splash/lua.py/get_main--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/discrete_model.py/MultinomialModel._derivative_exog