I have established connection with sql using below code and have extracted the data from sql table, converted into dataframe and ran the predictive model. I have the output