-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHome.py
More file actions
40 lines (32 loc) · 1.06 KB
/
Home.py
File metadata and controls
40 lines (32 loc) · 1.06 KB
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
39
40
import streamlit as st
import pandas
st.set_page_config(layout="wide")
col1, col2 = st.columns(2)
with col1:
st.image("images/photo.png")
with col2:
st.title("Rohit Singh")
content = """
Hi!, My name is Rohit Singh. I am a BCA student
and I have Knowledge about Python, JavaScript, Web-development, SQL Server-Management and C++.
I'm still a learner and I am Progressing very fast.
"""
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.header(row["title"])
st.write(row["description"])
st.image("images/" + row["image"])
st.write(f"[Source Code]({row['url']})")