Skip to content

Commit

Permalink
Fix serious bug: dataframes swapped in comparing step
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Nov 8, 2016
1 parent 13fa2a2 commit 7164cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recordlinkage/comparing.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def run(self):
labelsB = list(set(labelsB))

# Make selections of columns
dataA = _resample(self.df_a[labelsA], self.pairs, 1)
dataB = _resample(self.df_b[labelsB], self.pairs, 0)
dataA = _resample(self.df_a[labelsA], self.pairs, 0)
dataB = _resample(self.df_b[labelsB], self.pairs, 1)

for comp_func, lbls_a, lbls_b, args, kwargs in self._batch_functions:

Expand Down

0 comments on commit 7164cb4

Please sign in to comment.