Applied-Predictive-Modeling-with-Python icon indicating copy to clipboard operation
Applied-Predictive-Modeling-with-Python copied to clipboard

Not able to fetch data

Open Nikhil-JL opened this issue 5 years ago • 0 comments

I am new to python. As the code was written some 4 years back, I am not able to use some functionalities. Currently I am using Python version 3.7.3 and it no longer supports pandas.rpy.common. So I am importing pandas2ri from rpy2.robjects to tackle this.

In the function convert_datafiles(datasets_folder) in the loop for var in robj, I am replacing first myRData = com.load(var) with myRData=pandas.ri2py(var). But I am not getting any success in it. Please help me out in this.

Nikhil-JL avatar Jul 21 '19 03:07 Nikhil-JL