jinwenz2 commited on
Commit
cc94f55
·
verified ·
1 Parent(s): 40065a1

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -285,7 +285,7 @@ counts = (
285
  top5_per_region = (
286
  counts
287
  .groupby('RegionName', group_keys=False)
288
- .apply(lambda grp: grp.nlargest(5, 'Count'), include_group=False)
289
  )
290
 
291
  # 3. Draw a stacked bar chart
 
285
  top5_per_region = (
286
  counts
287
  .groupby('RegionName', group_keys=False)
288
+ .apply(lambda grp: grp.nlargest(5, 'Count'))
289
  )
290
 
291
  # 3. Draw a stacked bar chart