Im trying to run streamlit run uber_pickups.py in terminal, when Streamlit opens ups (or using http://localhost:8507), I get this error:
NameError: name ânullâ is not defined
Traceback:
File "/Users/romarubio/opt/miniconda3/lib/python3.7/site-packages/streamlit/ScriptRunner.py", line 322, in _run_script
exec(code, module.__dict__)File "/Users/romarubio/uber_pickups.py", line 255, in <module>
"execution_count": null,
One strong benefit of using streamlit is that you can use the full-featured IDE of your choice, and get live updates in your browser. To be honest, I see (and use) streamlit as a very good alternative to jupyter notebooks.
But I want to use Streamlit to create an app to my machine learning projects, soâŠStreamlit can not we used to that purpose of creating machine learning models, and use sciklearn, pandas, numpyâŠis that correct?
One of streamlitâs main goals is to give you the tools to build beautiful ML web apps easily and quickly. So you can definitely use it to create and play with machine learning models using the libraries you want.
It might be helpful to take a step back for a second. Can you post the code that you wrote, so we can evaluate what the problem might be?
The talk of which editor to use is mostly an unrelated issue: the workflow is having a Python script (in your case, uber_pickups.py) and running it using streamlit run uber_pickups.py. What text editor you use to input text doesnât change what code is run.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking âAccept allâ, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
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.
Performance cookies
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.
Functional cookies
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.
Targeting cookies
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.