Python: SyntaxError: keyword can't be an expression

后端 未结 5 2266
清酒与你
清酒与你 2020-12-01 20:28

In a Python script I call a function from rpy2, but I get this error:

#using an R module 
res = DirichletReg.ddirichlet(np.asarray(my_values),al         


        
5条回答
  •  南笙
    南笙 (楼主)
    2020-12-01 21:00

    It's python source parser failure on sum.up=False named argument as sum.up is not valid argument name (you can't use dots -- only alphanumerics and underscores in argument names).

提交回复
热议问题