I am trying to use as_coefficients_dict
(a python) function in Julia 1.7.1 but getting the error below:
The error occurs in the below code in the last line where I have
S = [p0].as_coefficients_dict().keys()
. See the code below:
p0 = sympify(dense_interpolation([a[1]] .+ r, [p0] .+ P).subs(Symbol('x'), x_var[1]))
S = [p0].as_coefficients_dict().keys()
as_coefficients_dict()
is a python function. How to represent it in Julia?
Could anyone help me out?