In python repl - i can see r object
In R repl - empty
how to access data of pandas in R?
Hi ravinder387,
If you want to access a pandas df in R, you can do this simply by accessing the py object
summary(py$df)
1 Like
yes it works but when i try to export as knit-html ... it gives error py object not found
do you have the library(reticulate)
line in the setup?
What libraries do you use in your document?
thank you it works but why
why this happen?
Reticulate is a bridge between Python and R and you will need it if you want to use the two languages in your scripts.
You can check more on this at the following link:
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.