Applied-Predictive-Modeling-with-Python
Applied-Predictive-Modeling-with-Python copied to clipboard
Not able to fetch data
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.