Update pages/1_Data_Card_and_Data_collection.py
Browse files
pages/1_Data_Card_and_Data_collection.py
CHANGED
|
@@ -58,25 +58,25 @@ if df is not None:
|
|
| 58 |
else:
|
| 59 |
st.info("No dataset found. Please upload a CSV file.")
|
| 60 |
|
|
|
|
| 61 |
st.markdown('''# About the Dataset
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
- **
|
| 68 |
-
- **
|
| 69 |
-
- **
|
| 70 |
-
- **
|
| 71 |
-
- **
|
| 72 |
-
- **
|
| 73 |
-
- **
|
| 74 |
-
- **
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
''')
|
| 80 |
|
| 81 |
# Define the URL of the background image (use your own image URL)
|
| 82 |
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/xpoN_mbctlrQAgRU06EPt.jpeg"
|
|
@@ -107,8 +107,10 @@ st.markdown(
|
|
| 107 |
/* Styling the content to ensure text visibility */
|
| 108 |
.stMarkdown {{
|
| 109 |
color: white;
|
| 110 |
-
font-size:
|
| 111 |
-
text-align:
|
|
|
|
|
|
|
| 112 |
}}
|
| 113 |
|
| 114 |
/* Center align the dataset and info */
|
|
|
|
| 58 |
else:
|
| 59 |
st.info("No dataset found. Please upload a CSV file.")
|
| 60 |
|
| 61 |
+
# About the Dataset section with left alignment and larger font
|
| 62 |
st.markdown('''# About the Dataset
|
| 63 |
+
## Description:
|
| 64 |
+
This dataset provides insights into consumer electronics sales, featuring product categories, brands, prices, customer demographics, purchase behavior, and satisfaction metrics. It aims to analyze factors influencing purchase intent and customer satisfaction in the consumer electronics market.
|
| 65 |
+
|
| 66 |
+
## Features:
|
| 67 |
+
- **ProductID**: Unique identifier for each product.
|
| 68 |
+
- **ProductCategory**: Category of the consumer electronics product (e.g., Smartphones, Laptops).
|
| 69 |
+
- **ProductBrand**: Brand of the product (e.g., Apple, Samsung).
|
| 70 |
+
- **ProductPrice**: Price of the product ($).
|
| 71 |
+
- **CustomerAge**: Age of the customer.
|
| 72 |
+
- **CustomerGender**: Gender of the customer (0 - Male, 1 - Female).
|
| 73 |
+
- **PurchaseFrequency**: Average number of purchases per year.
|
| 74 |
+
- **CustomerSatisfaction**: Customer satisfaction rating (1 - 5).
|
| 75 |
+
- **PurchaseIntent** (Target Variable): Intent to purchase.
|
| 76 |
+
|
| 77 |
+
## Conclusion:
|
| 78 |
+
This dataset facilitates analysis on consumer behavior and purchase patterns in the consumer electronics sector, providing valuable insights into market dynamics and customer preferences.
|
| 79 |
+
''')
|
|
|
|
| 80 |
|
| 81 |
# Define the URL of the background image (use your own image URL)
|
| 82 |
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/xpoN_mbctlrQAgRU06EPt.jpeg"
|
|
|
|
| 107 |
/* Styling the content to ensure text visibility */
|
| 108 |
.stMarkdown {{
|
| 109 |
color: white;
|
| 110 |
+
font-size: 25px; /* Larger font size */
|
| 111 |
+
text-align: left; /* Left align the text */
|
| 112 |
+
width: 90%; /* Optional: Adds space to the left */
|
| 113 |
+
margin: 0 auto; /* Optional: Centers the text block */
|
| 114 |
}}
|
| 115 |
|
| 116 |
/* Center align the dataset and info */
|