"""
My first app
Here's our first attempt at using data to create a table:
"""
import streamlit as st
import pandas as pd
df = pd.DataFrame({
  'first column': [1, 2, 3, 4],
  'second column': [10, 20, 30, 40]
})
df
```
Any time that Streamlit sees a variable or a literal
value on its own line, it automatically writes that to your app using
st.write(). For more information, refer to the
documentation on magic commands.
Write a data frame
Along with magic commands,
st.write() is Streamlit's "Swiss Army knife". You
can pass almost anything to st.write():
text, data, Matplotlib figures, Altair charts, and more. Don't worry, Streamlit
will figure it out and render things the right way.
```python
import streamlit as st
import pandas as pd
st.write("Here's our first attempt at using data to create a table:")
