i tried upgrading pandas and all other dependencies but still showing this error .
machine that i used amazon ec2 linux machine
This doesn’t look like a deployment issue, but rather a missing data issue. I would check the column names to make sure everything is spelled correctly.
yes sir i cross verified it and if any column name was having difference if would be reflected in local host also but in local host it is all good and working normally.
I think I should use docker method of deployment because it is possible that I might have forgotten to install some dependencies on my instance which might be preinstalled in my editor. what do you say?
I’m not against using Docker for deployment, but using it doesn’t automatically fix the main issue. At some point, you need to be able to specify the dependencies exactly, whether it’s using Docker or requirements.txt.