Spaces:
Sleeping
Sleeping
Vinícius dos Santos Moreira commited on
Commit ·
e39787d
1
Parent(s): 5c4baf3
Subindo o dataset no projeto
Browse files- dashboard.py +1 -1
- dataset/credit_customers.csv +0 -0
dashboard.py
CHANGED
|
@@ -22,7 +22,7 @@ st.set_page_config(page_title="Dashboard de Risco de Crédito", layout="wide")
|
|
| 22 |
def load_data():
|
| 23 |
# Baixa o dataset do Kaggle (cacheado pelo Streamlit para não baixar sempre)
|
| 24 |
try:
|
| 25 |
-
path =
|
| 26 |
file_path = f"{path}/credit_customers.csv"
|
| 27 |
df = pd.read_csv(file_path)
|
| 28 |
except Exception as e:
|
|
|
|
| 22 |
def load_data():
|
| 23 |
# Baixa o dataset do Kaggle (cacheado pelo Streamlit para não baixar sempre)
|
| 24 |
try:
|
| 25 |
+
path = "dataset"
|
| 26 |
file_path = f"{path}/credit_customers.csv"
|
| 27 |
df = pd.read_csv(file_path)
|
| 28 |
except Exception as e:
|
dataset/credit_customers.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|