Skip to content

Commit

Permalink
compare values per new pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Mar 1, 2023
1 parent 9888579 commit f793601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxcalc/tests/test_pufcsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_agg(tests_path, puf_fullsample):
assert len(adt.columns.values) == len(edt.columns.values)
diffs = False
for icol in adt.columns.values:
if not np.allclose(adt[icol], edt[str(icol)]):
if not np.allclose(adt[icol].values, edt[str(icol)].values):
diffs = True
if diffs:
new_filename = '{}{}'.format(aggres_path[:-10], 'actual.csv')
Expand Down

0 comments on commit f793601

Please sign in to comment.