Spaces:
Runtime error
Runtime error
johnometalman
commited on
Commit
·
81dcf19
1
Parent(s):
7d8c5ff
initial commit
Browse files- .gitignore +2 -0
- app.py +26 -0
- requirements.txt +2 -0
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
venv/
|
2 |
+
dataset.py
|
app.py
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import pandas as pd
|
3 |
+
import kagglehub
|
4 |
+
import zipfile
|
5 |
+
import os
|
6 |
+
|
7 |
+
st.title('Dashboard de Venture Capital')
|
8 |
+
st.markdown('Demo portafolio de Machine Learning y Venture Capital')
|
9 |
+
|
10 |
+
# Download latest version
|
11 |
+
path = kagglehub.dataset_download("sashakorovkina/4808-techstars-backed-companies-in-2024", path="./datasets/")
|
12 |
+
|
13 |
+
# # Unzip the dataset (if compressed)
|
14 |
+
# with zipfile.ZipFile(path, 'r') as zip_ref:
|
15 |
+
# zip_ref.extractall("./datasets")
|
16 |
+
|
17 |
+
# Load CSV into a DataFrame
|
18 |
+
csv_path = "./datasets/sashakorovkina/4808-techstars-backed-companies-in-2024.csv"
|
19 |
+
df = pd.read_csv(csv_path)
|
20 |
+
|
21 |
+
# Display DataFrame in Streamlit
|
22 |
+
st.write(df.head())
|
23 |
+
|
24 |
+
|
25 |
+
# Sidebar and Filter
|
26 |
+
st.sidebar.write("Opciones para Filtro")
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
kagglehub
|