-
Notifications
You must be signed in to change notification settings - Fork 1
/
Home.py
38 lines (29 loc) · 855 Bytes
/
Home.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import streamlit as st
import pandas
st.set_page_config(layout="wide")
col1, col2 = st.columns(2)
with col1:
st.image("images/photo.jpeg")
with col2:
st.title("Python developer")
content = """
Who are you?
"""
st.info(content)
content2 = """
Below you can find some of the apps I have built in Python. Feel free to contact me!
"""
st.write(content2)
col3, empty_col, col4 = st.columns([1.5, 0.5, 1.5])
df = pandas.read_csv("data.csv", sep=";")
with col3:
for index, row in df[:10].iterrows():
st.header(row["title"])
st.write(row["description"])
st.image("images/" + row["image"])
st.write(f"[Source Code]({row['url']})")
with col4:
for index, row in df[10:].iterrows():
st.title(row["title"])
st.write(row["description"])
st.image("images/" + row["image"])