Skip to content

Commit

Permalink
for Preferred indexing, use == 1 and not is True
Browse files Browse the repository at this point in the history
  • Loading branch information
WesIngwersen committed Sep 10, 2019
1 parent 4c32192 commit fb9053e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/summarize_flowlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

if __name__ == '__main__':
flowlist = fedelemflowlist.get_flows()
preferred_flows = flowlist[flowlist['Preferred'] is True]
preferred_flows = flowlist[flowlist['Preferred'] == 1]

all_flows_counts = count_flows_by_class(flowlist)
all_flows_counts.to_csv(outputpath + 'all_flows_counts.csv', index=False)
Expand Down

0 comments on commit fb9053e

Please sign in to comment.