hari3485 commited on
Commit
cced416
·
verified ·
1 Parent(s): 74fb91f

Update pages/hari.py

Browse files
Files changed (1) hide show
  1. pages/hari.py +44 -1
pages/hari.py CHANGED
@@ -472,7 +472,50 @@ def video_details_page():
472
  # Main Page
473
 
474
  def main_page():
475
- st.title("Data Types")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
476
 
477
  data_type = st.radio("Select Data Type:", ["Structured", "Semi-Structured", "Unstructured"])
478
 
 
472
  # Main Page
473
 
474
  def main_page():
475
+
476
+
477
+ # Title and Introduction
478
+ st.title("📊 What is Data?")
479
+ st.write("Data is information we collect to understand or learn something. It can be numbers, words, pictures, or even videos. For example, counting the number of students in a class gives us data.")
480
+
481
+ # Types of Data
482
+ st.header("📂 Types of Data")
483
+ st.write("Data is divided into three types based on how it is organized: **Structured Data**, **Semi-Structured Data**, and **Unstructured Data**.")
484
+
485
+ # Structured Data
486
+ st.subheader("1️⃣ Structured Data 🗂️")
487
+ st.write("""
488
+ This type of data is well-organized, like in a table with rows and columns. It's easy to store and analyze.
489
+ - **Examples:**
490
+ - Names, phone numbers, and addresses in a spreadsheet.
491
+ - Sales records in a database.
492
+ """)
493
+ st.write("**💡 Simple Story:** Think of a grocery store where every item has its price, category, and stock neatly listed on a computer.")
494
+
495
+ # Semi-Structured Data
496
+ st.subheader("2️⃣ Semi-Structured Data 📜")
497
+ st.write("""
498
+ This type of data is somewhat organized but not as strict as tables. It has a format but doesn’t fit perfectly into rows and columns.
499
+ - **Examples:**
500
+ - Emails (with subject, sender, and message).
501
+ - JSON or XML files used in apps and websites.
502
+ """)
503
+ st.write("**💡 Simple Story:** Imagine writing a letter that has a date, sender’s name, and the main message. It’s structured in parts but not as fixed as a table.")
504
+
505
+ # Unstructured Data
506
+ st.subheader("3️⃣ Unstructured Data 📷")
507
+ st.write("""
508
+ This is data without any specific organization. It’s harder to analyze directly.
509
+ - **Examples:**
510
+ - Photos and videos.
511
+ - Social media posts or text messages.
512
+ """)
513
+ st.write("**💡 Simple Story:** Think of a messy drawer with random papers, photos, and tools. It’s useful, but you need to sort it out to find what you need.")
514
+
515
+ # Conclusion
516
+ st.header("🔍 Conclusion")
517
+ st.write("Understanding the types of data helps us decide how to use it. Structured data is like a neat file cabinet, semi-structured is like a stack of papers with labels, and unstructured is like a box of random items.")
518
+
519
 
520
  data_type = st.radio("Select Data Type:", ["Structured", "Semi-Structured", "Unstructured"])
521