Sathwikchowdary commited on
Commit
27c6c15
·
verified ·
1 Parent(s): 54fd7b7

Update pages/Data_Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data_Collection.py +13 -30
pages/Data_Collection.py CHANGED
@@ -90,37 +90,20 @@ st.markdown(
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("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
- )
 
90
  )
91
 
92
  # Add buttons for each data type
93
+ # Buttons for each stage
94
+ st.markdown("### Types of structured data:")
95
+ col1 = st.columns(2)
96
+ with col1:
 
 
97
  if st.button("Excel"):
98
+ st.switch_page("pages/excel_Files.py")
99
+ display_lifecycle_stage(
100
+ "Excel is a spreadsheet format used to organize data into rows and columns. It supports formulas, charts, and more"
101
  )
 
102
  if st.button("CSV"):
103
+ display_lifecycle_stage(
104
+ "(Comma-Separated Values) is a plain text format where each row represents a record, and fields are separated by commas".
 
105
  )
106
+ if st.button("SQL"):
107
+ display_lifecycle_stage(
108
+ "SQL Databases store structured data in tables and allow querying using SQL (Structured Query Language)"
109
+ )