I try to deploy my projet. It is a multipage app and on the pages which use csv data I get error. There is my link:
At first I had data as xls, after the error I changed to csv, but I have stil problem.
Thanks
I try to deploy my projet. It is a multipage app and on the pages which use csv data I get error. There is my link:
At first I had data as xls, after the error I changed to csv, but I have stil problem.
Thanks
Use "/"
as the path separator.
Thank you but stil have error, not even working local. As I know double \ shoud be fine.
No, "\"
won’t work in streamlit cloud. You fixed that problem, now you have a different one. Do you understand what the error message says?
Maybe not really. Can you be more clear? I use “\” as separator if I use “/”, stil not working.
It says that your DataFrame doesn’t have a column "Dátum"
. Display the DataFrame to figure out what’s going on.
Thank for your suggestions. I hanged the code to use ‘\’ if works local and ‘/’ if works deployed. Now the file is found, but somehow can not read xls. I use pandas read_exel, which need to work. I changed the hungarian letters to english to be shure can read column names. Any suggestion?
You probably also have to add the optional pandas dependency xlrd
to your requirements.
Thank you added xlrd to requirements, works fine. So there was more problems, seems everything solved.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.