Update app.py
Browse files
app.py
CHANGED
@@ -87,10 +87,15 @@ def linePlot_time_series(viz_type, weight, top_n):
|
|
87 |
top_n=top_n,
|
88 |
api_name="/linePlot_time_series"
|
89 |
)
|
|
|
90 |
print("============== timeseries df transfer from pivate to public ===============")
|
91 |
print(result)
|
92 |
print(type(result))
|
93 |
-
|
|
|
|
|
|
|
|
|
94 |
|
95 |
|
96 |
def update_visualization(viz_type, weight, top_n):
|
|
|
87 |
top_n=top_n,
|
88 |
api_name="/linePlot_time_series"
|
89 |
)
|
90 |
+
|
91 |
print("============== timeseries df transfer from pivate to public ===============")
|
92 |
print(result)
|
93 |
print(type(result))
|
94 |
+
|
95 |
+
df = pd.DataFrame(pivot_table['data'], columns=pivot_table['headers'])
|
96 |
+
|
97 |
+
|
98 |
+
return df
|
99 |
|
100 |
|
101 |
def update_visualization(viz_type, weight, top_n):
|