I'm trying to run python code in Rstudio using reticulate package. when I run the code below, I got error message:
py_run_string(my_report = sweetviz.compare([car, "manufacturer"], [test, "drv"], "cty"))
Error: unexpected '[' in "py_run_string(my_report = sweetviz.compare(["
I have two questions:
- car is R data set, can I use it directly in python code?
- would you please help me to fix the sample code above?