Skip to content

Instantly share code, notes, and snippets.

@Pratik-Shukla-22
Created October 11, 2022 14:46
Show Gist options
  • Save Pratik-Shukla-22/30b00f87523b726ea94661feb5c627b5 to your computer and use it in GitHub Desktop.
Save Pratik-Shukla-22/30b00f87523b726ea94661feb5c627b5 to your computer and use it in GitHub Desktop.
#Create a dataframe for Actual and Predicted values:
A_P_data = pd.DataFrame({"Actual":data["CO2EMISSIONS"],"Predicted":predicted_data[:][0][0]})
print(A_P_data.head())
#Output:
Actual Predicted
0 196 204.68597
1 221 204.68597
2 136 204.68597
3 255 204.68597
4 244 204.68597
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment