Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def heatmap(top_n):
|
|
62 |
|
63 |
|
64 |
# transfere dictionary to df
|
65 |
-
df = pd.DataFrame(pivot_table['data'], columns=
|
66 |
df.set_index('Index', inplace=True)
|
67 |
|
68 |
plt.figure(figsize=(10, 8))
|
|
|
62 |
|
63 |
|
64 |
# transfere dictionary to df
|
65 |
+
df = pd.DataFrame(pivot_table['data'], columns=pivot_table['headers'])
|
66 |
df.set_index('Index', inplace=True)
|
67 |
|
68 |
plt.figure(figsize=(10, 8))
|