A small detail about this component: it resizes according to its content thanks to this iframe-resizer project. No need to choose a height to display the report, no scrolling, it embeds seamlessly to the page.
Unfortunately, the navbar does not work as page anchors are not supported from iframes. I’ve disabled it in consequence.
You can find all instructions to install and test the component in my repository:
Ah, yes you do need a special build @Charly_Wargnier. But if you’re in this area, then you should be in the beta already.
@tim has been building the Python packages locally, since he and the others were still developing and didn’t want people to be building things on a moving target (other than the people in the beta of course)
I did a super quick test and had the following error (screenshot below) where Streamlit and Node are on different local hosts, thus expectedly throwing the ModuleNotFoundError No module named 'streamlit.components':
Ah, bad timing! They were some recent API changes regarding components, and I guess you’re not using the latest beta 5 version. Uninstall your current streamlit version and download the latest components_beta5.zip archive.
As for the pyarrow error, I haven’t encountered it. You could try to update wheel by doing: pip install --upgrade wheel
I haven’t updated the wheel package yet, so you had the right idea to test it like you’re doing with node. I’ll try to update everything this week-end.
I updated to Beta 5, updated wheels and pip installed pep517, yet still have the issue, that is, node and Streamlit sitting on different localhost ports
The fact that they’re running on different localhost ports is normal. Streamlit gets the component from 3001 and renders it on your page on port 8501. Have you changed the _RELEASE boolean to False ?
That makes sense Synode! Thanks so much for such a detailed explanation, so useful!
I’ll keep you posted as soon as it’s worked. For now I’ve still got the ModuleNotFoundError: No module named 'pandas_profiling'
Despite having it installed on all folders… Not sure what I’m doing wrong but I shall find out! That’s an excellent Streamlit/Python/Bash training for me!
Glad to see your motivation in this regard! As for pandas_profiling, that means you may have not run pip install pandas-profiling in your python environment
I’ve tried that pip install in a clean folder as well. Same outcome, it remains frozen for about 5/10 minutes.
I think I just need to let it run for longer so the install can finish - I’ll try again tonight!
Note that I’ve tried to run pip install pandas-profiling (hyphen) and not pip install pandas_profiling (underscore, as you wrote above).
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.