Rename pages/1.Introduction.py to pages/Introduction.py
Browse files
pages/{1.Introduction.py → Introduction.py}
RENAMED
|
@@ -19,11 +19,7 @@ It is designed for understanding relationships between features and building pre
|
|
| 19 |
""")
|
| 20 |
|
| 21 |
st.markdown("### Download the Dataset")
|
| 22 |
-
sample_data =
|
| 23 |
-
"Price": [1000, 2000, 1500, 3000],
|
| 24 |
-
"Rating": [4.5, 4.0, 4.2, 3.8],
|
| 25 |
-
"Category": ["Luxury", "Premium", "Budget", "Low Budget"]
|
| 26 |
-
}
|
| 27 |
df = pd.DataFrame(sample_data)
|
| 28 |
csv = df.to_csv(index=False).encode('utf-8')
|
| 29 |
st.download_button("Download Sample Dataset", data=csv, file_name="hotel_data.csv", mime="text/csv")
|
|
|
|
| 19 |
""")
|
| 20 |
|
| 21 |
st.markdown("### Download the Dataset")
|
| 22 |
+
sample_data = pd.read_csv(r"C:\Users\user\Downloads\agoda_data.csv")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
df = pd.DataFrame(sample_data)
|
| 24 |
csv = df.to_csv(index=False).encode('utf-8')
|
| 25 |
st.download_button("Download Sample Dataset", data=csv, file_name="hotel_data.csv", mime="text/csv")
|