I am receiving an error when trying to send python df to R df in Jupyter Notebook. There is data in this df.
# Prior Cell
df = pd.DataFrame(full_4)
%R -i df
My error is: ValueError: The name cannot be an empty string
I am receiving an error when trying to send python df to R df in Jupyter Notebook. There is data in this df.
# Prior Cell
df = pd.DataFrame(full_4)
%R -i df
My error is: ValueError: The name cannot be an empty string
First, I think you need making activate r, like:
from rpy2.robjects import r, pandas2ri
pandas2ri.activate()