Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Commit

Permalink
Fix wronk line break
Browse files Browse the repository at this point in the history
  • Loading branch information
jtemporal committed Aug 30, 2017
1 parent 77813b2 commit 2539789
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lead_scoring/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,9 @@ def _is_in_office(data):


def _irregularities():
data = pd.read_csv('suspicions.xz'),
low_memory=False)
data = pd.read_csv('suspicions.xz', low_memory=False)
is_valid_suspicion = data.select_dtypes(include=[np.bool]).any(axis=1)
data = data[is_valid_suspicion]
reimbursements = pd.read_csv('reimbursements.xz'),
low_memory=False)
reimbursements = pd.read_csv('reimbursements.xz', low_memory=False)
reimbursements = reimbursements.query('congressperson_id.notnull()')
return pd.merge(data, reimbursements)

0 comments on commit 2539789

Please sign in to comment.