Spaces:
Runtime error
Runtime error
commit
Browse files- .vscode/launch.json +16 -0
- USA_Housing.csv +0 -0
- eda.py +10 -18
- image.jpeg +0 -0
.vscode/launch.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
// Use IntelliSense to learn about possible attributes.
|
3 |
+
// Hover to view descriptions of existing attributes.
|
4 |
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
5 |
+
"version": "0.2.0",
|
6 |
+
"configurations": [
|
7 |
+
{
|
8 |
+
"name": "Python: Current File",
|
9 |
+
"type": "python",
|
10 |
+
"request": "launch",
|
11 |
+
"program": "${file}",
|
12 |
+
"console": "integratedTerminal",
|
13 |
+
"justMyCode": true
|
14 |
+
}
|
15 |
+
]
|
16 |
+
}
|
USA_Housing.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
eda.py
CHANGED
@@ -1,41 +1,33 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
import pandas as pd
|
3 |
import seaborn as sns
|
4 |
import matplotlib.pyplot as plt
|
5 |
import numpy as np
|
6 |
|
|
|
|
|
|
|
|
|
7 |
st.set_page_config(
|
8 |
-
page_title='
|
9 |
layout='wide',
|
10 |
initial_sidebar_state='expanded'
|
11 |
)
|
12 |
|
13 |
def run():
|
14 |
# Title
|
15 |
-
st.title('House Price Prediction
|
16 |
-
|
17 |
-
# Membuat Sub Header
|
18 |
-
st.subheader('EDA untuk Analisa Dataset FIFA 2022')
|
19 |
-
|
20 |
-
# Membuat Deskripsi
|
21 |
-
st.write('Page ini dibuat oleh *Danu Purnomo*')
|
22 |
|
23 |
# Menambahkan Gambar
|
24 |
-
|
25 |
-
|
26 |
|
27 |
# Membuat Garis Lurus
|
28 |
st.markdown('---')
|
29 |
|
30 |
-
# Magic Syntax
|
31 |
-
'''
|
32 |
-
Pada page kali ini, penulis akan melakukan eskplorasi sederhana.
|
33 |
-
Dataset yang digunakan adalah dataset FIFA 2022.
|
34 |
-
Dataset ini berasal dari web sofifa.com.
|
35 |
-
'''
|
36 |
-
|
37 |
# Show DataFrame
|
38 |
-
data = pd.read_csv('
|
39 |
st.dataframe(data)
|
40 |
|
41 |
# Membuat BarPlot
|
|
|
1 |
import streamlit as st
|
2 |
+
from PIL import Image
|
3 |
import pandas as pd
|
4 |
import seaborn as sns
|
5 |
import matplotlib.pyplot as plt
|
6 |
import numpy as np
|
7 |
|
8 |
+
|
9 |
+
|
10 |
+
import plotly.express as px
|
11 |
+
|
12 |
st.set_page_config(
|
13 |
+
page_title='US House Price - EDA',
|
14 |
layout='wide',
|
15 |
initial_sidebar_state='expanded'
|
16 |
)
|
17 |
|
18 |
def run():
|
19 |
# Title
|
20 |
+
st.title('House Price Prediction EDA')
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
# Menambahkan Gambar
|
23 |
+
image = Image.open('image.jpeg')
|
24 |
+
st.image(image, caption='US Suburbs')
|
25 |
|
26 |
# Membuat Garis Lurus
|
27 |
st.markdown('---')
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
# Show DataFrame
|
30 |
+
data = pd.read_csv('USA_Housing.csv')
|
31 |
st.dataframe(data)
|
32 |
|
33 |
# Membuat BarPlot
|
image.jpeg
ADDED