Vera-ZWY commited on
Commit
1aa0e0d
·
verified ·
1 Parent(s): 51319c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def heatmap(top_n):
62
 
63
 
64
  # transfere dictionary to df
65
- df = pd.DataFrame(diction['data'], columns=diction['headers'])
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=diction['headers'])
66
  df.set_index('Index', inplace=True)
67
 
68
  plt.figure(figsize=(10, 8))