Skip to content

Commit

Permalink
Write some more on the Streamlit post
Browse files Browse the repository at this point in the history
  • Loading branch information
christianfosli committed Apr 4, 2024
1 parent 162618f commit a633ed4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions content/posts/2024-data-webapps-with-streamlit/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Quick and easy data web apps in Python with Streamlit"
date = "2024-04-01"
date = "2024-04-08"
draft = true

[extra]
Expand All @@ -10,7 +10,7 @@ comment = true
tags=["python"]
+++

I recently switched jobs (from one IT consultancy to another, smaller one).
I pretty recently switched jobs (from one IT consultancy to another).
This also meant switching client project, and subsequently I would be working with another tech stack than what I had been using the last few years.
I was going from microservices in csharp/.NET to "data apps" with Python, Pandas and Streamlit.

Expand Down Expand Up @@ -48,7 +48,26 @@ pip install -r requirements.txt

### Create initial Streamlit app

TODO
Create a file application.py with the following content:

```python
import streamlit as st

st.title("Streamlit demo")
```

Run with

```bash
streamlit run application.py
```

This should open up the app in your default web browser:

![initial streamlit app in web browser](initial_streamlit_browser.png)

That's the "Hello world" of Streamlit applications.
Now we're ready to explore some more features 😄.

### Dataframes

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a633ed4

Please sign in to comment.