Skip to content

Commit

Permalink
remove reference to default args when it's clear from method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Feb 4, 2022
1 parent 0a2d785 commit 96a222c
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions dedupe/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def partition(self,
and the values are dictionaries with the keys being
field names
threshold: Number between 0 and 1 (Default is 0.5). We
threshold: Number between 0 and 1. We
will only consider put together records into
clusters if the `cophenetic similarity
<https://en.wikipedia.org/wiki/Cophenetic>`_ of
Expand Down Expand Up @@ -318,8 +318,6 @@ def cluster(self,
Lowering the number will increase recall,
raising it will increase precision
Defaults to 0.5.
.. code:: python
> pairs = matcher.pairs(data)
Expand Down Expand Up @@ -448,7 +446,7 @@ def join(self,
data_2: Dictionary of records from second dataset, same form
as data_1
threshold: Number between 0 and 1 (default is .5). We
threshold: Number between 0 and 1. We
will consider records as potential
duplicates if the predicted probability of
being a duplicate is above the threshold.
Expand Down Expand Up @@ -551,7 +549,7 @@ def one_to_one(self,
should contains the similarity score for that
pair of records.
threshold: Number between 0 and 1 (default is 0.0). We
threshold: Number between 0 and 1. We
will consider records as potential
duplicates if the predicted probability of
being a duplicate is above the threshold.
Expand Down Expand Up @@ -607,7 +605,7 @@ def many_to_one(self,
should contains the similarity score for that
pair of records.
threshold: Number between 0 and 1 (default is 0.0). We
threshold: Number between 0 and 1. We
will consider records as potential
duplicates if the predicted probability of
being a duplicate is above the threshold.
Expand Down Expand Up @@ -829,7 +827,7 @@ def many_to_n(self,
should contains the similarity score for that
pair of records.
threshold: Number between 0 and 1 (default is 0.0). We
threshold: Number between 0 and 1. We
will consider records as potential
duplicates if the predicted probability of
being a duplicate is above the threshold.
Expand Down Expand Up @@ -866,9 +864,8 @@ def search(self,
the values are dictionaries with the keys
being field names.
threshold: a number between 0 and 1 (default is
0.5). We will consider records as
potential duplicates if the predicted
threshold: a number between 0 and 1. We will consider
records as potential duplicates if the predicted
probability of being a duplicate is
above the threshold.
Expand All @@ -879,10 +876,9 @@ def search(self,
canonical_data to return for each record in
data. If set to `None` all possible
matches above the threshold will be
returned. Defaults to 1
returned.
generator: when `True`, match will generate a sequence of
possible matches, instead of a list. Defaults
to `False` This makes `match` a lazy method.
possible matches, instead of a list.
.. code:: python
Expand Down

0 comments on commit 96a222c

Please sign in to comment.