everything is working fine until conversion but once i convert the test_data i.e.y_test into y_predictions.csv it’s showing all nan’s in the csv file.Therefore,if i submit the csv file it is showing error…plz help
Dbt in converting dataframe to csv
Hey @harika22k2020, this is due to the reason that, you y_test is of type pandas_dataframe,
y_test = y_test.values, and than make the csv from y_test.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. 