Spaces:
Build error
Build error
Jesus Sanchez commited on
Commit ·
20f135a
1
Parent(s): 41190a2
data frame
Browse files
app.py
CHANGED
|
@@ -69,7 +69,9 @@ def plot_chart():
|
|
| 69 |
if not json:
|
| 70 |
return "no data to plot"
|
| 71 |
|
| 72 |
-
|
|
|
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
|
|
|
|
| 69 |
if not json:
|
| 70 |
return "no data to plot"
|
| 71 |
|
| 72 |
+
dataframe = pd.DataFrame(json)
|
| 73 |
+
|
| 74 |
+
return alt.Chart(dataframe).mark_line()
|
| 75 |
|
| 76 |
|
| 77 |
|