How to fix the errors (/raise KeyError(key) from errindexer = self.columns.get_loc(key)) and to deploy this code ?!

hello
I’m a beginner, I’m learning to code with Streamlit.
On the localhost my code runs normally but when I want to deploy it on streamlit cloud this error is displayed !!!

In the localhost my code runs normally:

  • Python : 3.10.8
  • pandas==1.5.2
  • sklearn==0.0.post1
  • scikit-learn==1.1.2
  • scikit-plot==0.3.7

Thank you !

Hi @Amine_Debabi,

Thanks for sharing your question! Can you please share a code snippet as well so we can try to reproduce the issue?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.