Skip to content

Commit

Permalink
#89 Exclude Excluded dates from table average
Browse files Browse the repository at this point in the history
  • Loading branch information
radumas committed Jan 10, 2018
1 parent 7b6dc1a commit 8b45c89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def filter_table_data(period, day_type, orientation='ew', daterange_type=0, date
filtered = DATA[(DATA['period'] == period) &
(DATA['day_type'] == day_type) &
(DATA['direction'].isin(DIRECTIONS[orientation])) &
(DATA['category'] != 'Excluded') &
(date_filter)]
pivoted = pivot_order(filtered, orientation, daterange_type)

Expand Down

0 comments on commit 8b45c89

Please sign in to comment.