cboettig commited on
Commit
26d8980
·
1 Parent(s): 9ba37f9
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,9 +79,9 @@ def filterdata(df, year):
79
  data = (
80
  df.
81
  filter(_.year == year).
82
- select(_.[hzoom], _.species).
83
  distinct().
84
- group_by(_.[hzoom]).
85
  aggregate(n = _.count()).
86
  mutate(color = 255 * _.n / _.n.max()).
87
  to_pandas()
 
79
  data = (
80
  df.
81
  filter(_.year == year).
82
+ select(_[hzoom], _.species).
83
  distinct().
84
+ group_by(_[hzoom]).
85
  aggregate(n = _.count()).
86
  mutate(color = 255 * _.n / _.n.max()).
87
  to_pandas()