awacke1 commited on
Commit
3d9dd96
·
1 Parent(s): 3767c4c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +44 -0
app.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import matplotlib.pyplot as plt
3
+ import numpy as np
4
+ import os
5
+
6
+ def move_needle_to_hero():
7
+ st.title("Moving the Needle from Zero to Hero in Data Science & Engineering")
8
+ st.markdown("To become a proficient data scientist or engineer, focus on these key skills:")
9
+ st.write("1. Mathematics and Statistics")
10
+ st.write("2. Programming (Python recommended)")
11
+ st.write("3. Data Analysis and Visualization")
12
+ st.write("4. Machine Learning")
13
+ st.write("5. Data Wrangling and Cleaning")
14
+ st.write("6. Database Management")
15
+ st.write("7. Communication and Presentation Skills")
16
+
17
+ st.markdown("Stay current by:")
18
+ st.write("1. Reading industry blogs and journals")
19
+ st.write("2. Attending conferences and workshops")
20
+ st.write("3. Networking with professionals in the field")
21
+
22
+ st.markdown("Continuously practice and apply skills to real-world problems.")
23
+
24
+ st.markdown("Visualizing the progress:")
25
+ x = np.linspace(0, 10, 100)
26
+ y = np.sin(x)
27
+ plt.plot(x, y)
28
+ st.pyplot()
29
+
30
+ uploaded_file = st.sidebar.file_uploader("Upload a file", type=["csv", "txt"])
31
+ if uploaded_file is not None:
32
+ st.sidebar.write("File uploaded:", uploaded_file.name)
33
+ with open("uploaded_files.txt", "a") as f:
34
+ f.write(f"{uploaded_file.name}\n")
35
+
36
+ if os.path.exists("uploaded_files.txt"):
37
+ st.sidebar.markdown("File History:")
38
+ with open("uploaded_files.txt", "r") as f:
39
+ file_list = f.readlines()
40
+ for file in file_list:
41
+ st.sidebar.write(file.strip())
42
+
43
+ if __name__ == "__main__":
44
+ move_needle_to_hero()