Skip to content

Commit

Permalink
Fix Python comparator option methods in DIFF.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Jan 22, 2024
1 parent 28ba4d4 commit 7606d00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DIFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ options = DiffOptions() \
.with_change_column("changes") \
.with_diff_mode(DiffMode.Default) \
.with_sparse_mode(True) \
.withDefaultComparator(DiffComparators.epsilon(0.01)) \
.withComparator(DiffComparators.epsilon(0.001), DoubleType()) \
.withComparator(DiffComparators.epsilon(0.001), "float_column")
.with_default_comparator(DiffComparators.epsilon(0.01)) \
.with_data_type_comparator(DiffComparators.epsilon(0.001), DoubleType()) \
.with_column_name_comparator(DiffComparators.epsilon(0.001), "float_column")
```
### Diffing Modes

Expand Down

0 comments on commit 7606d00

Please sign in to comment.