Jesus Sanchez commited on
Commit
20f135a
·
1 Parent(s): 41190a2

data frame

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -69,7 +69,9 @@ def plot_chart():
69
  if not json:
70
  return "no data to plot"
71
 
72
- return alt.Chart(json).mark_line()
 
 
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