Skip to content

Commit

Permalink
Doc pdist's keyword argument w
Browse files Browse the repository at this point in the history
Missed documenting `w` when adding support for the `wminkowski` metric
in `pdist`. So this adds documentation for that parameter and notes that
it is mandatory (no default).
  • Loading branch information
jakirkham committed Oct 6, 2017
1 parent e9b89ae commit f487978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dask_distance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def pdist(X, metric="euclidean", **kwargs):
(default: estimated from X)
VI: Inverse of the covariance matrix for mahalanobis only
(default: estimated from X)
w: 1-D array of weights for wminkowski only (required)
Returns:
array: condensed distance between each pair
Expand Down

0 comments on commit f487978

Please sign in to comment.