In Latest Version of Pandas, the code explanation is kind of misleading due to the lack of rpy2 dependency. Please see png below:  Here is the link: https://pandas.pydata.org/pandas-docs/stable/r_interface.html