Sathwikchowdary commited on
Commit
b36dbdb
·
verified ·
1 Parent(s): 14c950a

Update pages/Data_Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data_Collection.py +15 -31
pages/Data_Collection.py CHANGED
@@ -88,39 +88,23 @@ st.markdown(
88
  "</p>",
89
  unsafe_allow_html=True
90
  )
 
 
 
91
 
92
- # Add buttons for each data type
93
- if st.button("Learn More About Structured Data"):
94
- st.markdown(
95
- "<p style='font-size: 16px; color: White;'>Structured data is stored in a well-defined schema, such as tables or databases. Common examples include Excel files, CSV files, and SQL databases.</p>",
96
- unsafe_allow_html=True
97
- )
98
- st.markdown("<h3 style='text-align: left; color: Black;'>Structured Data Formats</h3>", unsafe_allow_html=True)
99
- if st.button("Excel"):
100
- st.markdown(
101
- "<p style='font-size: 16px; color: White;'>Excel is a spreadsheet format used to organize data into rows and columns. It supports formulas, charts, and more.</p>",
102
- unsafe_allow_html=True
103
  )
104
- st.switch_page("pages/excel_Files.py")
105
  if st.button("CSV"):
106
- st.markdown(
107
- "<p style='font-size: 16px; color: White;'>CSV (Comma-Separated Values) is a plain text format where each row represents a record, and fields are separated by commas.</p>",
108
- unsafe_allow_html=True
109
  )
110
- if st.button("SQL Database"):
111
- st.markdown(
112
- "<p style='font-size: 16px; color: White;'>SQL Databases store structured data in tables and allow querying using SQL (Structured Query Language).</p>",
113
- unsafe_allow_html=True
114
  )
115
-
116
- if st.button("Learn More About Unstructured Data"):
117
- st.markdown(
118
- "<p style='font-size: 16px; color: White;'>Unstructured data includes multimedia files, text documents, and other formats that lack a predefined schema. Examples are images, videos, and free-text files.</p>",
119
- unsafe_allow_html=True
120
- )
121
-
122
- if st.button("Learn More About Semi-Structured Data"):
123
- st.markdown(
124
- "<p style='font-size: 16px; color: White;'>Semi-structured data lies between structured and unstructured data. Formats like JSON, XML, and YAML are common examples of semi-structured data.</p>",
125
- unsafe_allow_html=True
126
- )
 
88
  "</p>",
89
  unsafe_allow_html=True
90
  )
91
+ # Buttons for each stage
92
+ st.markdown("### Select a Lifecycle Stage to Learn More:")
93
+ col1 = st.columns(2)
94
 
95
+ with col1:
96
+ if st.button("More info on structured data"):
97
+ if.st.button("SQL"):
98
+ st.switch_page("pages/excel_Files.py")
99
+ display_lifecycle_stage(
100
+ "Problem Statement",
 
 
 
 
 
101
  )
 
102
  if st.button("CSV"):
103
+ display_lifecycle_stage(
104
+ "CSV"
 
105
  )
106
+ if st.button("SQL"):
107
+ display_lifecycle_stage(
108
+ "SQL"
 
109
  )
110
+