Skip to content

Commit 605e9d1

Browse files
Streamlit_update
1 parent 188278e commit 605e9d1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

3. Startup Funding Analysis/StreamlitVersion/Streamlit.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@
88

99

1010
#file
11-
file='../Analysis_Notebook/Startup_Cleaned.csv'
12-
df=pd.read_csv(file)
11+
12+
import os
13+
14+
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
15+
file = os.path.join(BASE_DIR, "Analysis_Notebook", "Startup_Cleaned.csv")
16+
df = pd.read_csv(file)
17+
18+
# file='../Analysis_Notebook/Startup_Cleaned.csv'
19+
# df=pd.read_csv(file)
1320

1421

1522
df_for_investor=df.copy()

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ streamlit
22
matplotlib
33
pandas
44
numpy
5-
seaborn
5+
seaborn
6+
os

0 commit comments

Comments
 (0)