Python: SyntaxError: keyword can't be an expression

后端 未结 5 2263
清酒与你
清酒与你 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:02

    sum.up is not a valid keyword argument name. Keyword arguments must be valid identifiers. You should look in the documentation of the library you are using how this argument really is called – maybe sum_up?

提交回复
热议问题